From d1b8dcc7447241f96b8fc4c3d0ce1658c039b233 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 23 Jun 2005 00:15:19 +0000 Subject: [PATCH] fix uninitialized variable: this is used by EndGame, which is called at the start of Reset(), and was normally initialized later in Reset(). I havn't seen any bugs as a result; this just showed up in valgrind. --- stepmania/src/GameState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 5e0998f786..49717b8ff2 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -79,6 +79,7 @@ GameState::GameState() : m_pCurGame = NULL; m_iCoins = 0; m_timeGameStarted.SetZero(); + m_bDemonstrationOrJukebox = false; ReloadCharacters();