Add BATTLE_SPAWN_INTERVAL

This commit is contained in:
James R 2022-12-27 22:40:29 -08:00
parent 6eb8da1a56
commit 3965f77763
2 changed files with 3 additions and 1 deletions

View file

@ -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));

View file

@ -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?