mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
check for canbustwalls, not glide&climb
This commit is contained in:
parent
e08ebac5c8
commit
79e8e10e07
1 changed files with 2 additions and 2 deletions
|
@ -2512,7 +2512,7 @@ static boolean P_PlayerCanBust(player_t *player, ffloor_t *rover)
|
|||
if ((player->pflags & PF_SPINNING) && !(player->pflags & PF_JUMPED))
|
||||
return true;
|
||||
|
||||
// Strong abilities can break even FF_STRONGBUST.
|
||||
// Passive wall breaking
|
||||
if (player->charflags & SF_CANBUSTWALLS)
|
||||
return true;
|
||||
|
||||
|
@ -2534,7 +2534,7 @@ static boolean P_PlayerCanBust(player_t *player, ffloor_t *rover)
|
|||
|
||||
/* FALLTHRU */
|
||||
case BT_STRONG: // Requires a "strong ability"
|
||||
if (player->charability == CA_GLIDEANDCLIMB)
|
||||
if (player->charflags & SF_CANBUSTWALLS)
|
||||
return true;
|
||||
|
||||
if (player->pflags & PF_BOUNCING)
|
||||
|
|
Loading…
Reference in a new issue