mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Insta-Whip: pop player shield
This commit is contained in:
		
							parent
							
								
									0b39268a71
								
							
						
					
					
						commit
						45eeb94513
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3327,6 +3327,10 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
 | 
			
		|||
 | 
			
		||||
				K_PlayPainSound(target, source);
 | 
			
		||||
			}
 | 
			
		||||
			else if (inflictor && inflictor->type == MT_INSTAWHIP)
 | 
			
		||||
			{
 | 
			
		||||
				K_PopPlayerShield(player);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if (gametyperules & GTR_BUMPERS)
 | 
			
		||||
				player->spheres = min(player->spheres + 10, 40);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue