A misplaced effort in this file made the announcer unswitchable.

This commit is contained in:
Peter S. May
2002-07-12 04:13:30 +00:00
parent 304f02f926
commit ea65052280
+10 -4
View File
@@ -142,10 +142,16 @@ ScreenTitleMenu::ScreenTitleMenu()
// so just leave it yeah? // so just leave it yeah?
// I don't wanna fix this a 3rd TIME!! // I don't wanna fix this a 3rd TIME!!
// - Andy. // - Andy.
if (GAMEMAN->m_CurGame != GAME_EZ2) // if (GAMEMAN->m_CurGame != GAME_EZ2)
{ //{
ANNOUNCER->SwitchAnnouncer( "default" ); // ANNOUNCER->SwitchAnnouncer( "default" );
} //}
// Dear Andy:
// The above code breaks the program by making the announcer unswitchable.
// This is the wrong place for such a code change anyway. Might I suggest
// changing something in the PrefsManager instead?
// -- dro kulix
SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_TITLE_MENU_GAME_NAME) ); SOUND->PlayOnceStreamedFromDir( ANNOUNCER->GetPathTo(ANNOUNCER_TITLE_MENU_GAME_NAME) );