Don't fuck nojumpspin characters who are capable of rolling

This commit is contained in:
lachwright 2019-10-25 18:51:41 +08:00
parent d5b1467e79
commit 2d458059c8
1 changed files with 1 additions and 1 deletions

View File

@ -1991,7 +1991,7 @@ 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);
player->pflags = (player->pflags & ~PF_SPINNING) | (PF_JUMPED | PF_THOKKED);
}
}
#endif