mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'amp-sound' into 'master'
Play amp sounds at player mo Closes ring-racers#317 See merge request kart-krew-dev/ring-racers-internal!2946
This commit is contained in:
		
						commit
						3befb83abf
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -11037,12 +11037,12 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
 | 
			
		|||
	{
 | 
			
		||||
		if (P_IsDisplayPlayer(player))
 | 
			
		||||
		{
 | 
			
		||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 255);
 | 
			
		||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 255);
 | 
			
		||||
			S_StartSoundAtVolume(player->mo, sfx_mbs43, 255);
 | 
			
		||||
			S_StartSoundAtVolume(player->mo, sfx_mbs43, 255);
 | 
			
		||||
		}
 | 
			
		||||
		else
 | 
			
		||||
		{
 | 
			
		||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 127);
 | 
			
		||||
			S_StartSoundAtVolume(player->mo, sfx_mbs43, 127);
 | 
			
		||||
		}
 | 
			
		||||
		player->amppickup--;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue