mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2025-01-11 01:44:09 +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