Put player in jump state after spinning during a wall transfer

This commit is contained in:
lachwright 2019-10-25 18:48:40 +08:00
parent 989e089e0a
commit d5b1467e79
1 changed files with 2 additions and 0 deletions

View File

@ -1990,6 +1990,8 @@ void P_XYMovement(mobj_t *mo)
{
mo->momz = transfermomz;
mo->standingslope = NULL;
if (player->pflags & PF_SPINNING)
player->pflags = (player->pflags & ~PF_SPINNING) | (P_GetJumpFlags(player) | PF_THOKKED);
}
}
#endif