From 2bd7dfda9d5b1b6ca4cfe9c5e1255e4346c6ac57 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Jan 2006 22:20:21 +0000 Subject: [PATCH] GameState::Update just calls m_pPlayerState->Update. Do it directly, so we don't call it redundantly, and so we do the same for any dummy players. --- stepmania/src/ScreenGameplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 579208e303..937fd20014 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -990,7 +990,7 @@ void ScreenGameplay::SetupSong( int iSongIndex ) } /* Update attack bOn flags. */ - GAMESTATE->Update(0); + pi->GetPlayerState()->Update(0); pi->GetPlayerState()->RebuildPlayerOptionsFromActiveAttacks(); /* Hack: Course modifiers that are set to start immediately shouldn't tween on. */