mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 17:01:07 +00:00
Fix #1230
This commit is contained in:
parent
427bed07f7
commit
d47a95e9ba
1 changed files with 3 additions and 0 deletions
|
@ -976,6 +976,9 @@ pflags_t P_GetJumpFlags(player_t *player)
|
|||
//
|
||||
boolean P_PlayerInPain(player_t *player)
|
||||
{
|
||||
if (P_MobjWasRemoved(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])
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue