Merge branch 'fixghostflag' into 'master'

Fix MF2_OBJECTFLIP being applied to flags instead of flags2 in P_SpawnGhostMobj

Closes #327

See merge request KartKrew/RingRacers!98
This commit is contained in:
Eidolon 2025-03-10 07:59:31 +00:00
commit 9c3b776511

View file

@ -1105,7 +1105,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;