Make V_OFFSET no thing without V_NOSCALESTART, to remove any potential glitches with using it on its own

This commit is contained in:
Monster Iestyn 2018-10-29 12:36:09 +00:00
parent 834a5e6b35
commit df9c3ef3cd

View file

@ -426,7 +426,7 @@ void V_DrawFixedPatch(fixed_t x, fixed_t y, fixed_t pscale, INT32 scrn, patch_t
// TODO: make some kind of vertical version of V_FLIP, maybe by deprecating V_OFFSET in future?!?
offsety = FixedMul(SHORT(patch->topoffset)<<FRACBITS, pscale);
if (scrn & V_OFFSET) // Multiply by dupx/dupy for crosshairs
if ((scrn & (V_NOSCALESTART|V_OFFSET)) == (V_NOSCALESTART|V_OFFSET)) // Multiply by dupx/dupy for crosshairs
{
offsetx = FixedMul(offsetx, dupx<<FRACBITS);
offsety = FixedMul(offsety, dupy<<FRACBITS);