forked from Mirrorlandia_minetest/minetest
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)
|
if (stop_requested)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
f32 dtime = get_time_since_last_step();
|
f32 dtime = get_time_since_last_step() * 1.0e-3f;
|
||||||
t_step_start = porting::getTimeMs();
|
t_step_start = porting::getTimeMs();
|
||||||
step(dtime);
|
step(dtime);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user