mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 23:50:00 +00:00
fix
This commit is contained in:
parent
5edd9e75da
commit
bae6c24209
|
@ -9115,12 +9115,16 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
|
||||||
switch (pPed->m_vehEnterType) {
|
switch (pPed->m_vehEnterType) {
|
||||||
case CAR_DOOR_LF:
|
case CAR_DOOR_LF:
|
||||||
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_LF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
|
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_LF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_LR;
|
||||||
|
break;
|
||||||
case CAR_DOOR_LR:
|
case CAR_DOOR_LR:
|
||||||
flags = pPed->m_pMyVehicle->m_nNumMaxPassengers != 0 ? CAR_DOOR_FLAG_RF : CAR_DOOR_FLAG_LF | CAR_DOOR_FLAG_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:
|
case CAR_DOOR_RF:
|
||||||
flags = CAR_DOOR_FLAG_RF;
|
flags = CAR_DOOR_FLAG_RF;
|
||||||
|
break;
|
||||||
case CAR_DOOR_RR:
|
case CAR_DOOR_RR:
|
||||||
flags = CAR_DOOR_FLAG_RR;
|
flags = CAR_DOOR_FLAG_RR;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pPed->m_pMyVehicle->m_nGettingOutFlags &= ~flags;
|
pPed->m_pMyVehicle->m_nGettingOutFlags &= ~flags;
|
||||||
|
|
Loading…
Reference in a new issue