16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 02:09:17 +02:00

audio synchronization fix

This commit is contained in:
tmj-fstate
2017-10-29 20:56:40 +01:00
parent 2fece17ca0
commit ffcd3b40c9
4 changed files with 103 additions and 64 deletions

View File

@@ -3511,7 +3511,7 @@ void TDynamicObject::RenderSounds()
// McZapkie-010302: ulepszony dzwiek silnika
double freq;
double vol = 0;
double dt = Timer::GetDeltaTime();
double dt = Timer::GetDeltaRenderTime();
// double sounddist;
// sounddist=SquareMagnitude(Global::pCameraPosition-vPosition);