diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-05 13:04:42 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-05 13:04:42 +0200 |
commit | f639aae2ae1bda9220dc1e3a238645230e076e05 (patch) | |
tree | 837801387ddfc7e0e3fa21b98c3aa7c4eccee39d /src/audio/AudioLogic.cpp | |
parent | 0d3e6a3dce52b72f7e6ab47df0cf501ec019e6fd (diff) |
Fix chainsaw sound
Diffstat (limited to 'src/audio/AudioLogic.cpp')
-rw-r--r-- | src/audio/AudioLogic.cpp | 4 |
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 ¶ms) 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 ¶ms) 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: |