From 565c5d46e2c814834ed4d691e23d9688f59fdd9f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 25 Sep 2003 06:44:25 +0000 Subject: [PATCH] fix ModeChoice --- stepmania/src/ModeChoice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ModeChoice.cpp b/stepmania/src/ModeChoice.cpp index 12a6c5e5e3..c5b669f374 100644 --- a/stepmania/src/ModeChoice.cpp +++ b/stepmania/src/ModeChoice.cpp @@ -18,6 +18,7 @@ void ModeChoice::Init() m_dc = DIFFICULTY_INVALID; m_sAnnouncer = ""; m_sName = ""; + m_bInvalid = true; } bool ModeChoice::DescribesCurrentMode() const @@ -46,6 +47,7 @@ void ModeChoice::Load( int iIndex, CString sChoice ) m_iIndex = iIndex; m_sName = sChoice; + m_bInvalid = false; CStringArray asCommands; split( sChoice, ";", asCommands );