From 31bf527888ab953b151022e668351ecbc62454ac Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 16 Feb 2004 10:22:18 +0000 Subject: [PATCH] fix weird course mod bug --- stepmania/src/ScreenGameplay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index eed65a36a5..b0fad55f24 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1793,6 +1793,10 @@ void ScreenGameplay::SongFinished() g_CurStageStats.fRadarActual[p][r] += m_Player[p].GetActualRadarValue( rc, (PlayerNumber)p, GAMESTATE->m_pCurSong->m_fMusicLengthSeconds ); } } + + /* Extremely important: if we don't remove attacks before moving on to the next + * screen, they'll still be turned on eventually. */ + GAMESTATE->RemoveAllActiveAttacks(); } void ScreenGameplay::StageFinished()