Merge branch 'enable-bustables' into 'master'

Let players bust bustable FOFs again

Closes #351

See merge request KartKrew/Kart!945
This commit is contained in:
Oni 2023-02-21 06:44:13 +00:00
commit c41d0dee32

View file

@ -1460,7 +1460,14 @@ static boolean P_PlayerCanBust(player_t *player, ffloor_t *rover)
// TODO: Make these act like the Lua SA2 boxes.
(void)player;
(void)rover;
return false;
if (!(rover->fofflags & FOF_EXISTS))
return false;
if (!(rover->fofflags & FOF_BUSTUP))
return false;
return true;
}
static void P_CheckBustableBlocks(player_t *player)