mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-17 04:44:28 +02:00
Fix acceleration sound playing when exiting the vehicle
This commit is contained in:
@@ -282,7 +282,7 @@ cAudioManager::ProcessSpecial()
|
|||||||
}
|
}
|
||||||
CPlayerPed *playerPed = FindPlayerPed();
|
CPlayerPed *playerPed = FindPlayerPed();
|
||||||
if (playerPed) {
|
if (playerPed) {
|
||||||
if(playerPed->EnteringCar() && !playerPed->bInVehicle)
|
if(!playerPed->EnteringCar() && !playerPed->bInVehicle)
|
||||||
SampleManager.StopChannel(CHANNEL_PLAYER_VEHICLE_ENGINE);
|
SampleManager.StopChannel(CHANNEL_PLAYER_VEHICLE_ENGINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user