mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
fix
This commit is contained in:
parent
5edd9e75da
commit
bae6c24209
@ -9115,12 +9115,16 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
|
||||
switch (pPed->m_vehEnterType) {
|
||||
case CAR_DOOR_LF:
|
||||
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_LF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
|
||||
break;
|
||||
case CAR_DOOR_LR:
|
||||
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_RF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
|
||||
break;
|
||||
case CAR_DOOR_RF:
|
||||
flags = CAR_DOOR_FLAG_RF;
|
||||
break;
|
||||
case CAR_DOOR_RR:
|
||||
flags = CAR_DOOR_FLAG_RR;
|
||||
break;
|
||||
}
|
||||
}
|
||||
pPed->m_pMyVehicle->m_nGettingOutFlags &= ~flags;
|
||||
|
Loading…
Reference in New Issue
Block a user