summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-05 12:04:42 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-05 12:04:42 +0100
commitf639aae2ae1bda9220dc1e3a238645230e076e05 (patch)
tree837801387ddfc7e0e3fa21b98c3aa7c4eccee39d /src/audio
parentVehicle: Automobile: more pointless fixes (diff)
downloadre3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar.gz
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar.bz2
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar.lz
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar.xz
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.tar.zst
re3-f639aae2ae1bda9220dc1e3a238645230e076e05.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioLogic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 4f678916..01b33fa5 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -4279,7 +4279,7 @@ cAudioManager::ProcessPedOneShots(cPedParams &params)
break;
case SOUND_FALL_LAND:
case SOUND_FALL_COLLAPSE:
- if (params.m_pPed->bIsInTheAir)
+ if (ped->bIsInTheAir)
continue;
maxDist = SQR(30);
emittingVol = m_anRandomTable[3] % 20 + 80;
@@ -4474,7 +4474,7 @@ cAudioManager::ProcessPedOneShots(cPedParams &params)
m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(SFX_CAR_ACCEL_13);
m_sQueueSample.m_nEmittingVolume = 100;
m_sQueueSample.m_bIs2D = false;
- m_sQueueSample.m_bReverbFlag = false;
+ m_sQueueSample.m_bReleasingSoundFlag = false;
m_sQueueSample.m_nReleasingVolumeDivider = 5;
break;
case SOUND_WEAPON_CHAINSAW_IDLE: