diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 1d3f093b5e..bfe6f68c60 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1984,6 +1984,8 @@ public: FOREACH_HumanPlayer( p ) { const Steps* pSteps = GAMESTATE->m_pCurSteps[p]; + if( pSteps == NULL ) + return 0; bool bAlreadyAdded = find( vpStepsToShow.begin(), vpStepsToShow.end(), pSteps ) != vpStepsToShow.end(); if( !bAlreadyAdded ) vpStepsToShow.push_back( pSteps );