mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +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)
 | 
			
		||||
{
 | 
			
		||||
	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));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,8 @@
 | 
			
		|||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define BATTLE_SPAWN_INTERVAL (8*TICRATE)
 | 
			
		||||
 | 
			
		||||
extern struct battleovertime
 | 
			
		||||
{
 | 
			
		||||
	UINT16 enabled; ///< Has this been initalized yet?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue