fix logic issue

This commit is contained in:
NepDisk 2025-03-01 10:20:43 -05:00
parent b06b6ade9e
commit b3851134c1

View file

@ -1200,7 +1200,7 @@ mobj_t *P_SpawnGhostMobj(mobj_t *mobj)
ghost->spriteyoffset = mobj->spriteyoffset;
if (mobj->flags2 & MF2_OBJECTFLIP)
ghost->flags |= MF2_OBJECTFLIP;
ghost->flags2 |= MF2_OBJECTFLIP;
if (!(mobj->flags & MF_DONTENCOREMAP))
ghost->flags &= ~MF_DONTENCOREMAP;