Don't play the Start sound in SM_BeginFadingOut. It might
have been triggered by something that just played a sound, or the screen might want to play a different sound. It's not SM_BeginFadingOut's job to play a sound. (fixes double-start sound when "next screen" options are selected from context menus in ScreenOptionsManage*)
This commit is contained in:
@@ -567,8 +567,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
||||
}
|
||||
|
||||
StartTransitioningScreen( SM_ExportOptions );
|
||||
|
||||
SCREENMAN->PlayStartSound();
|
||||
}
|
||||
else if( SM == SM_ExportOptions )
|
||||
{
|
||||
@@ -877,6 +875,7 @@ void ScreenOptions::ProcessMenuStart( const InputEventPlus &input )
|
||||
|
||||
if( bEndThisScreen )
|
||||
{
|
||||
SCREENMAN->PlayStartSound();
|
||||
this->BeginFadingOut();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user