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:
@@ -139,7 +139,7 @@ void ScreenOptionsCourseOverview::HandleScreenMessage( const ScreenMessage SM )
|
||||
|
||||
if( EditCourseUtil::RenameAndSave( GAMESTATE->m_pCurCourse, ScreenTextEntry::s_sLastAnswer ) )
|
||||
{
|
||||
m_soundSave.Play();
|
||||
m_soundSave.Play(true);
|
||||
SCREENMAN->SystemMessage( COURSE_SAVED );
|
||||
}
|
||||
}
|
||||
@@ -236,7 +236,7 @@ void ScreenOptionsCourseOverview::ProcessMenuStart( const InputEventPlus &input
|
||||
{
|
||||
if( EditCourseUtil::Save( GAMESTATE->m_pCurCourse ) )
|
||||
{
|
||||
m_soundSave.Play();
|
||||
m_soundSave.Play(true);
|
||||
SCREENMAN->SystemMessage( COURSE_SAVED );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user