mirror of
https://github.com/halpz/re3.git
synced 2025-06-26 19:36:21 +00:00
Fix cAudioManager::ProcessSpecial
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user