1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-07 15:34:54 +00:00
This commit is contained in:
Nikolay Korolev 2020-11-02 15:54:42 +03:00
parent 5edd9e75da
commit bae6c24209

View file

@ -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;