mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 19:02:34 +00:00
ACTUALLY fix the issue.
This commit is contained in:
parent
58db5a6904
commit
d50e3bff70
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ pflags_t P_GetJumpFlags(player_t *player)
|
|||
boolean P_PlayerInPain(player_t *player)
|
||||
{
|
||||
// If the player doesn't have a mobj, it can't be in pain.
|
||||
if !(player->mo)
|
||||
if (!player->mo)
|
||||
return false;
|
||||
// no silly, sliding isn't pain
|
||||
if (!(player->pflags & PF_SLIDING) && player->mo->state == &states[player->mo->info->painstate] && player->powers[pw_flashing])
|
||||
|
|
Loading…
Reference in a new issue