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:
Glenn Maynard
2006-01-30 05:41:46 +00:00
parent 37338dd78a
commit 5995043bf0
7 changed files with 8 additions and 2 deletions
+1 -2
View File
@@ -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;
}