diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 508435b94c..8e9a66bb80 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1536,6 +1536,9 @@ static void GameLoop() DISPLAY->Update( fDeltaTime ); + /* Update SOUNDMAN early (before any RageSound::GetPosition calls), to flush position data. */ + SOUNDMAN->Update( fDeltaTime ); + /* Update song beat information -before- calling update on all the classes that * depend on it. If you don't do this first, the classes are all acting on old * information and will lag. (but no longer fatally, due to timestamping -glenn) */ @@ -1543,7 +1546,6 @@ static void GameLoop() TEXTUREMAN->Update( fDeltaTime ); GAMESTATE->Update( fDeltaTime ); SCREENMAN->Update( fDeltaTime ); - SOUNDMAN->Update( fDeltaTime ); MEMCARDMAN->Update( fDeltaTime ); /* Important: Process input AFTER updating game logic, or input will be acting on song beat from last frame */