mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
allow sliders passage through spin gaps
This commit is contained in:
parent
d9395b0a73
commit
a1235e144d
1 changed files with 1 additions and 1 deletions
|
@ -12971,7 +12971,7 @@ boolean P_PlayerCanEnterSpinGaps(player_t *player)
|
|||
else if (canEnter == 2)
|
||||
return false;
|
||||
|
||||
return ((player->pflags & (PF_SPINNING|PF_GLIDING)) // players who are spinning or gliding
|
||||
return ((player->pflags & (PF_SPINNING|PF_SLIDING|PF_GLIDING)) // players who are spinning, sliding, or gliding
|
||||
|| (player->charability == CA_GLIDEANDCLIMB && player->mo->state-states == S_PLAY_GLIDE_LANDING) // players who are landing from a glide
|
||||
|| JUMPCURLED(player)); // players who are jumpcurled, but only if they would normally jump that way
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue