summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-22 02:23:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-22 02:32:46 +0200
commit7d51995640c6ad822c983249acf7aa765aa055b8 (patch)
treebee1ed6834c3f548469b330c649b93d28b5b5ffa /src/audio/AudioLogic.cpp
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-7d51995640c6ad822c983249acf7aa765aa055b8.tar
re3-7d51995640c6ad822c983249acf7aa765aa055b8.tar.gz
re3-7d51995640c6ad822c983249acf7aa765aa055b8.tar.bz2
re3-7d51995640c6ad822c983249acf7aa765aa055b8.tar.lz
re3-7d51995640c6ad822c983249acf7aa765aa055b8.tar.xz
re3-7d51995640c6ad822c983249acf7aa765aa055b8.tar.zst
re3-7d51995640c6ad822c983249acf7aa765aa055b8.zip
Diffstat (limited to 'src/audio/AudioLogic.cpp')
-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 8fd2c2c9..7c7e96d2 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.3342229f;
+ multiplier = (velocityChange - 0.0005f) / (1499.0f / 2000.0f);
CalculateDistance(params->m_bDistanceCalculated, params->m_fDistance);
vol = (30.f * multiplier);
m_sQueueSample.m_nVolume = ComputeVolume(vol, 50.f, m_sQueueSample.m_fDistance);