mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-10 03:43:04 +08:00
Fix the audio entity for car engine start sound (#24)
Like in Vanilla III/VC PC Versions. Very pity for the RE Team that didn't fixed the bug.
This commit is contained in:
+1
-1
@@ -4378,7 +4378,7 @@ CPed::PedSetInCarCB(CAnimBlendAssociation *animAssoc, void *arg)
|
||||
|
||||
if (!veh->bEngineOn) {
|
||||
veh->bEngineOn = true;
|
||||
DMAudio.PlayOneShot(ped->m_audioEntityId, SOUND_CAR_ENGINE_START, 1.0f);
|
||||
DMAudio.PlayOneShot(veh->m_audioEntityId, SOUND_CAR_ENGINE_START, 1.0f);
|
||||
}
|
||||
if (ped->m_objective == OBJECTIVE_ENTER_CAR_AS_DRIVER && ped->CharCreatedBy == RANDOM_CHAR
|
||||
&& ped != FindPlayerPed() && ped->m_nPedType != PEDTYPE_EMERGENCY) {
|
||||
|
||||
Reference in New Issue
Block a user