don't load multiple copies of "common start" or "common invalid" sound

This commit is contained in:
Chris Danford
2004-05-01 23:28:53 +00:00
parent df5cd5e813
commit 6590bd2d48
39 changed files with 37 additions and 79 deletions
+2 -3
View File
@@ -130,7 +130,6 @@ ScreenSelectCourse::ScreenSelectCourse( CString sClassName ) : ScreenWithMenuEle
// this->AddChild( &m_sprOptionsMessage ); // draw and update manually
m_soundSelect.Load( THEME->GetPathToS("Common start") );
m_soundOptionsChange.Load( THEME->GetPathToS("ScreenSelectCourse options") );
m_soundChangeNotes.Load( THEME->GetPathToS("ScreenSelectCourse difficulty") );
@@ -248,7 +247,7 @@ void ScreenSelectCourse::Input( const DeviceInput& DeviceI, InputEventType type,
m_bGoToOptions = true;
m_sprOptionsMessage.SetState( 1 );
m_soundSelect.Play();
SCREENMAN->PlayStartSound();
return;
}
@@ -338,7 +337,7 @@ void ScreenSelectCourse::MenuStart( PlayerNumber pn )
TweenOffScreen();
m_soundSelect.Play();
SCREENMAN->PlayStartSound();
m_bMadeChoice = true;