mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Play amp sounds at player mo
This commit is contained in:
		
							parent
							
								
									2270813eee
								
							
						
					
					
						commit
						c7d137de5c
					
				
					 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))
 | 
							if (P_IsDisplayPlayer(player))
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 255);
 | 
								S_StartSoundAtVolume(player->mo, sfx_mbs43, 255);
 | 
				
			||||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 255);
 | 
								S_StartSoundAtVolume(player->mo, sfx_mbs43, 255);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			S_StartSoundAtVolume(NULL, sfx_mbs43, 127);
 | 
								S_StartSoundAtVolume(player->mo, sfx_mbs43, 127);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		player->amppickup--;
 | 
							player->amppickup--;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue