Change breaking walls requirement from CA_GLIDEANDCLIMB to SF_CANBREAKWALLS.

This commit is contained in:
Snu 2020-09-29 10:32:45 +01:00
parent 07a57d0419
commit d07422bda1

View file

@ -2564,7 +2564,7 @@ static boolean P_PlayerCanBust(player_t *player, ffloor_t *rover)
}
// Strong abilities can break even FF_STRONGBUST.
if (player->charability == CA_GLIDEANDCLIMB)
if (player->charflags & SF_CANBREAKWALLS)
return true;
if (player->pflags & PF_BOUNCING)