Let players bust bustable FOFs again

This commit is contained in:
James R 2023-02-18 23:19:50 -08:00
parent e1078e4cb4
commit 91a323624c

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)