Update SOUNDMAN earlier

This commit is contained in:
Glenn Maynard
2004-05-08 02:18:27 +00:00
parent af59943c4c
commit fe9c19b446
+3 -1
View File
@@ -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 */