From b27b2a1fb96b97facb879bd849943d4e57ccacc1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 24 Mar 2003 21:29:06 +0000 Subject: [PATCH] fix the demonstration screen when there is music ... --- stepmania/src/ScreenGameplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index fe81a000bc..d99a3ef249 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -816,6 +816,8 @@ void ScreenGameplay::Update( float fDeltaTime ) Screen::Update( fDeltaTime ); + if( GAMESTATE->m_pCurSong == NULL ) + return; if( GAMESTATE->m_MasterPlayerNumber != PLAYER_INVALID ) m_MaxCombo.SetText( ssprintf("%d", GAMESTATE->m_CurStageStats.iCurCombo[GAMESTATE->m_MasterPlayerNumber]) ); /* MAKE THIS WORK FOR BOTH PLAYERS! */