1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00

Merge pull request #148 from Nick007J/master

fixed car AI bug
This commit is contained in:
aap 2019-07-18 12:25:44 +02:00 committed by GitHub
commit 6b09eb8792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1909,6 +1909,7 @@ int8 CRunningScript::ProcessCommandsFrom100To199(int32 command)
CTheScripts::ClearSpaceForMissionEntity(pos, car);
car->m_status = STATUS_ABANDONED;
car->bIsLocked = true;
CCarCtrl::JoinCarWithRoadSystem(car);
car->AutoPilot.m_nCarMission = MISSION_NONE;
car->AutoPilot.m_nAnimationId = TEMPACT_NONE; /* Animation ID? */
car->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_STOP_FOR_CARS;