From b66fc2f5ac20b370145bdabdd74f09e5d970dbd6 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Wed, 18 Oct 2017 18:14:49 -0400 Subject: [PATCH] Ported this fix from internal --- src/r_things.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/r_things.c b/src/r_things.c index f289cabc..58dbc085 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -149,7 +149,12 @@ static void R_InstallSpriteLump(UINT16 wad, // graphics patch sprtemp[frame].lumppat[r + rightfactor] = lumppat; sprtemp[frame].lumpid[r + rightfactor] = lumpid; } - sprtemp[frame].flip |= (flipped ? (0x0F << rightfactor) : 0); // 00001111 or 11110000 in binary, depending on rotation being ROT_L or ROT_R + + if (flipped) + sprtemp[frame].flip |= (0x0F<