From ea65052280f67b3914682811b57c0a59bc95e6ed Mon Sep 17 00:00:00 2001 From: "Peter S. May" Date: Fri, 12 Jul 2002 04:13:30 +0000 Subject: [PATCH] A misplaced effort in this file made the announcer unswitchable. --- stepmania/src/ScreenTitleMenu.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenTitleMenu.cpp b/stepmania/src/ScreenTitleMenu.cpp index 0c5cd14e6b..e4e122d443 100644 --- a/stepmania/src/ScreenTitleMenu.cpp +++ b/stepmania/src/ScreenTitleMenu.cpp @@ -134,7 +134,7 @@ ScreenTitleMenu::ScreenTitleMenu() this->AddActor( &m_Fade ); - + // LEAVE THIS HERE! ITS ESSENTIAL // I know you're a fan of removing my code, but if this isn't here // the Ez2dancer announcer will be the default (as it loads in alphabetical order, and ez2dancer @@ -142,10 +142,16 @@ ScreenTitleMenu::ScreenTitleMenu() // so just leave it yeah? // I don't wanna fix this a 3rd TIME!! // - Andy. - if (GAMEMAN->m_CurGame != GAME_EZ2) - { - ANNOUNCER->SwitchAnnouncer( "default" ); - } + // if (GAMEMAN->m_CurGame != GAME_EZ2) + //{ + // 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) );