mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 00:12:27 +00:00
Add BATTLE_SPAWN_INTERVAL
This commit is contained in:
parent
6eb8da1a56
commit
3965f77763
2 changed files with 3 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ UINT8 K_NumEmeralds(player_t *player)
|
||||||
void K_RunPaperItemSpawners(void)
|
void K_RunPaperItemSpawners(void)
|
||||||
{
|
{
|
||||||
const boolean overtime = (battleovertime.enabled >= 10*TICRATE);
|
const boolean overtime = (battleovertime.enabled >= 10*TICRATE);
|
||||||
tic_t interval = 8*TICRATE;
|
tic_t interval = BATTLE_SPAWN_INTERVAL;
|
||||||
|
|
||||||
const boolean canmakeemeralds = true; //(!(battlecapsules || bossinfo.boss));
|
const boolean canmakeemeralds = true; //(!(battlecapsules || bossinfo.boss));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define BATTLE_SPAWN_INTERVAL (8*TICRATE)
|
||||||
|
|
||||||
extern struct battleovertime
|
extern struct battleovertime
|
||||||
{
|
{
|
||||||
UINT16 enabled; ///< Has this been initalized yet?
|
UINT16 enabled; ///< Has this been initalized yet?
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue