From d91d07da5b28332f46a9e7478722a892b7b8a174 Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 15 Nov 2019 13:10:41 +0000 Subject: [PATCH] Fix Metal Sonic not correctly flipping with gravity. (Doesn't require a new Metal recording.) --- src/g_game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_game.c b/src/g_game.c index 63caaa15c..d1a9909e3 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -5194,7 +5194,10 @@ void G_ReadMetalTic(mobj_t *metal) { // But wait, there's more! xziptic = READUINT8(metal_p); if (xziptic & EZT_FLIP) + { metal->eflags ^= MFE_VERTICALFLIP; + metal->flags2 ^= MF2_OBJECTFLIP; + } if (xziptic & EZT_SCALE) { metal->destscale = READFIXED(metal_p);