play cancel sound when using CancelTransitionsOut, not start sound
This commit is contained in:
@@ -256,6 +256,7 @@ void ScreenManager::ThemeChanged()
|
||||
// reload common sounds
|
||||
m_soundStart.Load( THEME->GetPathS("Common","start") );
|
||||
m_soundCoin.Load( THEME->GetPathS("Common","coin"), true );
|
||||
m_soundCancel.Load( THEME->GetPathS("Common","cancel"), true );
|
||||
m_soundInvalid.Load( THEME->GetPathS("Common","invalid") );
|
||||
m_soundScreenshot.Load( THEME->GetPathS("Common","screenshot") );
|
||||
|
||||
@@ -852,6 +853,13 @@ void ScreenManager::PlayCoinSound()
|
||||
m_soundCoin.Play( &p );
|
||||
}
|
||||
|
||||
void ScreenManager::PlayCancelSound()
|
||||
{
|
||||
RageSoundParams p;
|
||||
p.m_bIsCriticalSound = true;
|
||||
m_soundCancel.Play( &p );
|
||||
}
|
||||
|
||||
void ScreenManager::PlayScreenshotSound()
|
||||
{
|
||||
RageSoundParams p;
|
||||
|
||||
Reference in New Issue
Block a user