forgor to check for that flag

This commit is contained in:
Alug committed 2025-01-18 11:44:09 +01:00
1 parent ff620c0218
commit 51631dcb40
1 file changed
+1 -1
+1 -1
View File
@@ -515,7 +515,7 @@ static inline void P_ResetSpriteStuff(void)
mo = (mobj_t *)th;
if (mo->type == MT_SHADOW || mo->sprite == SPR_NULL)
if (mo->sprite == SPR_NULL || mo->flags2 & MF2_DONTDRAW || mo->type == MT_SHADOW)
continue;
mo->spritexscale = mo->realxscale;