16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 03:09:18 +02:00

audio synchronization fix

This commit is contained in:
tmj-fstate
2017-10-29 20:56:40 +01:00
parent 2fece17ca0
commit ffcd3b40c9
4 changed files with 103 additions and 64 deletions

View File

@@ -1029,7 +1029,7 @@ bool TWorld::Update() {
}
simulation::Events.update();
simulation::Region->update();
simulation::Region->update_events();
simulation::Lights.update();
// render time routines follow:
@@ -1062,6 +1062,7 @@ bool TWorld::Update() {
Timer::subsystem.sim_total.stop();
simulation::Region->update_sounds();
GfxRenderer.Update( dt );
ResourceSweep();