summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-12 14:01:58 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-12 14:01:58 +0200
commit8759c2edf0f4bbd850b1837d1e571f5326792a2a (patch)
tree66f2e2c41a8c18390761bd3997deaa779deba4e5 /src/audio/AudioLogic.cpp
parentRefactor cAudioManager::ProcessActiveQueues, fix doppler effect (diff)
downloadre3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar.gz
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar.bz2
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar.lz
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar.xz
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.tar.zst
re3-8759c2edf0f4bbd850b1837d1e571f5326792a2a.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 cf54ce53..043b3941 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -1367,7 +1367,7 @@ cAudioManager::ProcessPlayersVehicleEngine(cVehicleParams& params, CAutomobile *
#ifdef EXTERNAL_3D_SOUND
SampleManager.SetChannelEmittingVolume(CHANNEL_PLAYER_VEHICLE_ENGINE, 85);
SampleManager.SetChannel3DPosition(CHANNEL_PLAYER_VEHICLE_ENGINE, pos.x, pos.y, pos.z);
- SampleManager.SetChannel3DDistances(CHANNEL_PLAYER_VEHICLE_ENGINE, 50.f, 12.5f);
+ SampleManager.SetChannel3DDistances(CHANNEL_PLAYER_VEHICLE_ENGINE, 50.0f, 50.0f * 0.25f);
#else
SampleManager.SetChannelVolume(CHANNEL_PLAYER_VEHICLE_ENGINE, ComputeVolume(85, 50.0f, m_sQueueSample.m_fDistance));