mirror of
https://github.com/halpz/re3.git
synced 2025-05-01 07:06:18 +00:00
FORMAT
This commit is contained in:
parent
174424c520
commit
89b622eea8
|
@ -2962,7 +2962,7 @@ cAudioManager::ProcessVehicleOneShots(cVehicleParams *params)
|
|||
if (Pads[0].GetHandBrake() == 0) {
|
||||
playerVeh = FindPlayerVehicle();
|
||||
playerPed = FindPlayerPed();
|
||||
if (playerVeh == 0 && playerPed != 0) {
|
||||
if (playerVeh == nil && playerPed != nil) {
|
||||
if (playerPed->m_attachedTo != nil && playerPed->m_attachedTo->GetType() == ENTITY_TYPE_VEHICLE)
|
||||
playerVeh = (CVehicle*)playerPed->m_attachedTo;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue