1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 09:10:01 +00:00

Fix chainsaw sound

This commit is contained in:
Sergeanur 2021-01-05 13:04:42 +02:00
parent 0d3e6a3dce
commit f639aae2ae

View file

@ -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: