Update SOUNDMAN earlier
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user