Merge branch 'fixghostflag' into 'next'

Fix MF2_OBJECTFLIP being applied to flags instead of flags2 in P_SpawnGhostMobj

See merge request KartKrew/Kart-Public!364
This commit is contained in:
Nep2Disk 2025-03-01 15:32:00 +00:00
commit f6889c01f1

View file

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