summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-18 18:37:28 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-18 18:37:28 +0200
commitf760696a9f6052381536de466d2c4f783b4262c6 (patch)
treed3aa69295d4e8362fc7d2ece39574e7197adf048
parentFix some audio floats (diff)
downloadre3-f760696a9f6052381536de466d2c4f783b4262c6.tar
re3-f760696a9f6052381536de466d2c4f783b4262c6.tar.gz
re3-f760696a9f6052381536de466d2c4f783b4262c6.tar.bz2
re3-f760696a9f6052381536de466d2c4f783b4262c6.tar.lz
re3-f760696a9f6052381536de466d2c4f783b4262c6.tar.xz
re3-f760696a9f6052381536de466d2c4f783b4262c6.tar.zst
re3-f760696a9f6052381536de466d2c4f783b4262c6.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioLogic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 6c025175..8fd2c2c9 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -2538,7 +2538,7 @@ cAudioManager::ProcessBoatMovingOverWater(cVehicleParams *params)
return true;
velocityChange = Min(0.75f, velocityChange);
- multiplier = (velocityChange - 0.0005f) * 1.3342f;
+ multiplier = (velocityChange - 0.0005f) * 1.3342229f;
CalculateDistance(params->m_bDistanceCalculated, params->m_fDistance);
vol = (30.f * multiplier);
m_sQueueSample.m_nVolume = ComputeVolume(vol, 50.f, m_sQueueSample.m_fDistance);