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
@@ -249,10 +249,12 @@ void ScreenOptionsManageEditSteps::ProcessMenuStart( const InputEventPlus &input
ScreenPrompt::Prompt( SM_None, s );
return;
}
SCREENMAN->PlayStartSound();
this->BeginFadingOut();
}
else if( m_pRows[iCurRow]->GetRowType() == OptionRow::RowType_Exit )
{
SCREENMAN->PlayStartSound();
this->BeginFadingOut();
}
else // a Steps