summaryrefslogtreecommitdiff
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-20 23:25:01 +0300
committerGitHub <noreply@github.com>2020-05-20 23:25:01 +0300
commitb7c1784dd274b88955763c5a3fa2acb4d202e934 (patch)
tree9a104a954ed8b8c026d5b661160c3c984ca9be92 /src/control
parentc0c8278c635258fc72636db0bbf59d7c99c4ba61 (diff)
script fix
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index e8aa3266..8ade2c9b 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -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;