Skip to content

Commit

Permalink
Sounds: Fix dtime being in milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour committed Oct 28, 2023
1 parent b2aa5d9 commit 2ad1713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/sound/sound_manager.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2ad1713

Please sign in to comment.