mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-22 00:59:15 +01:00
Fix acceleration sound playing when exiting the vehicle
This commit is contained in:
parent
597802ff2e
commit
01c70dfb76
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user