Add asserts. By this point, every human player needs to have steps.

This commit is contained in:
Steve Checkoway
2008-07-23 12:22:24 +00:00
parent a94f29aaad
commit 6d8ac95e72
+3
View File
@@ -398,6 +398,9 @@ void ScreenGameplay::Init()
FOREACH_PotentialCpuPlayer(p)
GAMESTATE->m_pCurSteps[p].Set( GAMESTATE->m_pCurSteps[ GAMESTATE->GetFirstHumanPlayer() ] );
FOREACH_EnabledPlayer(p)
ASSERT( GAMESTATE->m_pCurSteps[p].Get() );
/* Increment the course play count. */
if( GAMESTATE->IsCourseMode() && !GAMESTATE->m_bDemonstrationOrJukebox )
FOREACH_EnabledPlayer(p)