1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-21 17:25:29 +00:00

Fix acceleration sound playing when exiting the vehicle

This commit is contained in:
Sergeanur 2021-08-18 18:37:10 +03:00
parent 597802ff2e
commit 01c70dfb76

View file

@ -282,7 +282,7 @@ cAudioManager::ProcessSpecial()
}
CPlayerPed *playerPed = FindPlayerPed();
if (playerPed) {
if(playerPed->EnteringCar() && !playerPed->bInVehicle)
if(!playerPed->EnteringCar() && !playerPed->bInVehicle)
SampleManager.StopChannel(CHANNEL_PLAYER_VEHICLE_ENGINE);
}
}