add debugging assert

This commit is contained in:
Chris Danford
2007-10-19 09:01:12 +00:00
parent 84bb380ae3
commit fe0f02f7e2
+2
View File
@@ -48,6 +48,8 @@ void WorkoutGraph::SetFromGameState()
void WorkoutGraph::SetFromGameStateInternal( int iNumSongsToShowForCurrentStage )
{
ASSERT( WORKOUTMAN->m_pCurWorkout );
FOREACH( Sprite*, m_vpBars, p )
{
this->RemoveChild( *p );