diff --git a/src/audio/sfx_manager.cpp b/src/audio/sfx_manager.cpp index e6975bbb8..b484d3eb1 100644 --- a/src/audio/sfx_manager.cpp +++ b/src/audio/sfx_manager.cpp @@ -367,7 +367,7 @@ void* SFXManager::mainLoop(void *obj) double t = StkTime::getRealTime(); StkTime::sleep(1); t = StkTime::getRealTime() - t; - me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.001f); + me->queue(SFX_UPDATE, (SFXBase*)NULL, float(t)); } me->m_sfx_commands.lock();