diff --git a/src/k_battle.c b/src/k_battle.c index 7079bf3a4..6612b9548 100644 --- a/src/k_battle.c +++ b/src/k_battle.c @@ -350,7 +350,7 @@ UINT8 K_NumEmeralds(player_t *player) void K_RunPaperItemSpawners(void) { 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)); diff --git a/src/k_battle.h b/src/k_battle.h index 12ad78004..d42d0ee09 100644 --- a/src/k_battle.h +++ b/src/k_battle.h @@ -8,6 +8,8 @@ extern "C" { #endif +#define BATTLE_SPAWN_INTERVAL (8*TICRATE) + extern struct battleovertime { UINT16 enabled; ///< Has this been initalized yet?