1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 21:30:00 +00:00

Fix cAudioManager::ProcessSpecial

This commit is contained in:
Sergeanur 2020-12-25 09:06:49 +02:00
parent de31bdc89f
commit 6d75374c41

View file

@ -277,8 +277,7 @@ cAudioManager::ProcessSpecial()
}
CPlayerPed *playerPed = FindPlayerPed();
if (playerPed) {
const PedState &state = playerPed->m_nPedState;
if (state != PED_ENTER_CAR && state != PED_STEAL_CAR && !playerPed->bInVehicle)
if(playerPed->EnteringCar() && !playerPed->bInVehicle)
SampleManager.StopChannel(m_nActiveSamples);
}
}