mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 14:39:03 +00:00
Fix cAudioManager::ProcessSpecial
This commit is contained in:
parent
de31bdc89f
commit
6d75374c41
1 changed files with 1 additions and 2 deletions
|
@ -277,8 +277,7 @@ cAudioManager::ProcessSpecial()
|
||||||
}
|
}
|
||||||
CPlayerPed *playerPed = FindPlayerPed();
|
CPlayerPed *playerPed = FindPlayerPed();
|
||||||
if (playerPed) {
|
if (playerPed) {
|
||||||
const PedState &state = playerPed->m_nPedState;
|
if(playerPed->EnteringCar() && !playerPed->bInVehicle)
|
||||||
if (state != PED_ENTER_CAR && state != PED_STEAL_CAR && !playerPed->bInVehicle)
|
|
||||||
SampleManager.StopChannel(m_nActiveSamples);
|
SampleManager.StopChannel(m_nActiveSamples);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue