1
0
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:
Desour
2023-10-28 15:14:52 +02:00
committed by DS
parent b2aa5d9261
commit 2ad17136dc

View File

@@ -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);
}