Fix an error I made in HWR_DrawFixedPatch

This commit is contained in:
Monster Iestyn 2018-10-30 13:44:01 +00:00
parent b022ff02a5
commit 2fa0896fd0

View file

@ -192,7 +192,7 @@ void HWR_DrawFixedPatch(GLPatch_t *gpatch, fixed_t x, fixed_t y, fixed_t pscale,
// top offset
// TODO: make some kind of vertical version of V_FLIP, maybe by deprecating V_OFFSET in future?!?
offsety = (float)SHORT(patch->topoffset) * fscale;
offsety = (float)SHORT(gpatch->topoffset) * fscale;
if ((option & (V_NOSCALESTART|V_OFFSET)) == (V_NOSCALESTART|V_OFFSET)) // Multiply by dupx/dupy for crosshairs
{