mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
c41d0dee32
1 changed files with 8 additions and 1 deletions
|
|
@ -1460,7 +1460,14 @@ static boolean P_PlayerCanBust(player_t *player, ffloor_t *rover)
|
||||||
// TODO: Make these act like the Lua SA2 boxes.
|
// TODO: Make these act like the Lua SA2 boxes.
|
||||||
(void)player;
|
(void)player;
|
||||||
(void)rover;
|
(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)
|
static void P_CheckBustableBlocks(player_t *player)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue