Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.

This commit is contained in:
Kyzentun
2015-02-28 06:25:02 -07:00
parent d35933f1e5
commit b293a8c073
38 changed files with 165 additions and 131 deletions
+3 -3
View File
@@ -107,7 +107,7 @@ void LifeMeterBattery::OnSongEnded()
m_iLivesLeft = min( m_iLivesLeft, m_pPlayerState->m_PlayerOptions.GetSong().m_BatteryLives );
if( m_iTrailingLivesLeft < m_iLivesLeft )
m_soundGainLife.Play();
m_soundGainLife.Play(false);
}
Refresh();
@@ -120,7 +120,7 @@ void LifeMeterBattery::SubtractLives( int iLives )
m_iTrailingLivesLeft = m_iLivesLeft;
m_iLivesLeft -= iLives;
m_soundLoseLife.Play();
m_soundLoseLife.Play(false);
m_textNumLives.PlayCommand("LoseLife");
Refresh();
@@ -135,7 +135,7 @@ void LifeMeterBattery::AddLives( int iLives )
m_iTrailingLivesLeft = m_iLivesLeft;
m_iLivesLeft += iLives;
m_soundGainLife.Play();
m_soundGainLife.Play(false);
m_textNumLives.PlayCommand("GainLife");
Refresh();