From c77b3aa58db93da84adde74200b2f3419d919aa3 Mon Sep 17 00:00:00 2001
From: toasterbabe <rollerorbital@gmail.com>
Date: Mon, 8 Aug 2016 17:24:36 +0100
Subject: [PATCH] Sorted an issue MI discovered (I was basing the flip code off
 the C0 scenario rather than the Cn one)

---
 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 f98578e734..ff9c604ff7 100644
--- a/src/r_things.c
+++ b/src/r_things.c
@@ -150,7 +150,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<<rightfactor); // 00001111 or 11110000 in binary, depending on rotation being ROT_L or ROT_R
+		else
+			sprtemp[frame].flip &= ~(0x0F<<rightfactor); // ditto
+
 		return;
 	}
 
-- 
GitLab