mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Sounds: Fix dtime being in milliseconds
This commit is contained in:
parent
b2aa5d9261
commit
2ad17136dc
@ -516,7 +516,7 @@ void *OpenALSoundManager::run()
|
||||
if (stop_requested)
|
||||
break;
|
||||
|
||||
f32 dtime = get_time_since_last_step();
|
||||
f32 dtime = get_time_since_last_step() * 1.0e-3f;
|
||||
t_step_start = porting::getTimeMs();
|
||||
step(dtime);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user