script fix

This commit is contained in:
Nikolay Korolev 2020-05-20 23:25:01 +03:00 committed by GitHub
parent c0c8278c63
commit b7c1784dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8222,7 +8222,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
car->SetHeading(DEGTORAD(*(float*)&ScriptParams[3]));
CTheScripts::ClearSpaceForMissionEntity(pos, car);
car->SetStatus(STATUS_ABANDONED);
car->bIsLocked = true;
car->bIsLocked = false;
car->bIsCarParkVehicle = true;
CCarCtrl::JoinCarWithRoadSystem(car);
car->AutoPilot.m_nCarMission = MISSION_NONE;