FORMAT
This commit is contained in:
parent
174424c520
commit
89b622eea8
@ -2962,7 +2962,7 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||||||
if (Pads[0].GetHandBrake() == 0) {
|
if (Pads[0].GetHandBrake() == 0) {
|
||||||
playerVeh = FindPlayerVehicle();
|
playerVeh = FindPlayerVehicle();
|
||||||
playerPed = FindPlayerPed();
|
playerPed = FindPlayerPed();
|
||||||
if (playerVeh == 0 && playerPed != 0) {
|
if (playerVeh == nil && playerPed != nil) {
|
||||||
if (playerPed->m_attachedTo != nil && playerPed->m_attachedTo->GetType() == ENTITY_TYPE_VEHICLE)
|
if (playerPed->m_attachedTo != nil && playerPed->m_attachedTo->GetType() == ENTITY_TYPE_VEHICLE)
|
||||||
playerVeh = (CVehicle*)playerPed->m_attachedTo;
|
playerVeh = (CVehicle*)playerPed->m_attachedTo;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user