mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01: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 New Issue
Block a user