mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Battle: any death is an elimination while Overtime Barrier is tangible
This commit is contained in:
		
							parent
							
								
									91fdba650f
								
							
						
					
					
						commit
						9e4b716ed1
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1790,6 +1790,11 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
 | 
			
		|||
 | 
			
		||||
		if (gametyperules & GTR_BUMPERS)
 | 
			
		||||
		{
 | 
			
		||||
			if (battleovertime.enabled >= 10*TICRATE) // Overtime Barrier is armed
 | 
			
		||||
			{
 | 
			
		||||
				target->player->pflags |= PF_ELIMINATED;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			K_CheckBumpers();
 | 
			
		||||
 | 
			
		||||
			if (target->player->roundscore > 1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue