make the player afterimage sprites follow however the player sprite look

playerafter images now support things like saltyhop and gravstretching to make them feel more grounded or whatever
This commit is contained in:
alufolie91 committed 2023-10-08 03:34:56 +02:00
1 parent 8af91b8c9b
commit 2fa79155de
1 file changed
+5
+5
View File
@@ -1698,6 +1698,11 @@ mobj_t *P_SpawnGhostMobj(mobj_t *mobj)
ghost->skin = mobj->skin;
ghost->localskin = mobj->localskin;
ghost->skinlocal = mobj->skinlocal;
ghost->realxscale = mobj->realxscale;
ghost->spritexscale = mobj->spritexscale;
ghost->spriteyscale = mobj->spriteyscale;
ghost->spritexoffset = mobj->spritexoffset;
ghost->spriteyoffset = mobj->spriteyoffset;
if (mobj->flags2 & MF2_OBJECTFLIP)
ghost->flags |= MF2_OBJECTFLIP;