From 58985e388703af257d1fc52434e42beddeb22d71 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 10 Aug 2009 01:03:26 +0000 Subject: [PATCH] fix uninitialized variables --- stepmania/src/Player.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 0f82aa5ece..c20094097c 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -355,6 +355,11 @@ void Player::Init( m_pActorWithJudgmentPosition = &*m_sprJudgment; this->AddChild( m_sprJudgment ); } + else + { + m_pActorWithComboPosition = NULL; + m_pActorWithJudgmentPosition = NULL; + } // Load HoldJudgments m_vpHoldJudgment.resize( GAMESTATE->GetCurrentStyle()->m_iColsPerPlayer );