summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-20 22:25:01 +0200
committerGitHub <noreply@github.com>2020-05-20 22:25:01 +0200
commitb7c1784dd274b88955763c5a3fa2acb4d202e934 (patch)
tree9a104a954ed8b8c026d5b661160c3c984ca9be92 /src/control/Script.cpp
parentfixed ped comment (diff)
downloadre3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar.gz
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar.bz2
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar.lz
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar.xz
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.tar.zst
re3-b7c1784dd274b88955763c5a3fa2acb4d202e934.zip
Diffstat (limited to 'src/control/Script.cpp')
-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;