mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 17:40:00 +00:00
fixed car AI bug
This commit is contained in:
parent
ba242bcf58
commit
0f160d110f
|
@ -1909,6 +1909,7 @@ int8 CRunningScript::ProcessCommandsFrom100To199(int32 command)
|
||||||
CTheScripts::ClearSpaceForMissionEntity(pos, car);
|
CTheScripts::ClearSpaceForMissionEntity(pos, car);
|
||||||
car->m_status = STATUS_ABANDONED;
|
car->m_status = STATUS_ABANDONED;
|
||||||
car->bIsLocked = true;
|
car->bIsLocked = true;
|
||||||
|
CCarCtrl::JoinCarWithRoadSystem(car);
|
||||||
car->AutoPilot.m_nCarMission = MISSION_NONE;
|
car->AutoPilot.m_nCarMission = MISSION_NONE;
|
||||||
car->AutoPilot.m_nAnimationId = TEMPACT_NONE; /* Animation ID? */
|
car->AutoPilot.m_nAnimationId = TEMPACT_NONE; /* Animation ID? */
|
||||||
car->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;
|
car->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;
|
||||||
|
|
Loading…
Reference in a new issue