mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 18:05:22 +02:00
Sounds: Fix dtime being in milliseconds
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user