summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-02 14:51:33 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-02 14:58:52 +0100
commit03b995c6efb4b6b559b61dd0f789b16c0d8b474f (patch)
treeab7c893d774ed6a07d0d83d729b5df7a08df5b7b /src/control/Script.cpp
parentfixed firetruck crash (diff)
downloadre3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.gz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.bz2
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.lz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.xz
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.tar.zst
re3-03b995c6efb4b6b559b61dd0f789b16c0d8b474f.zip
Diffstat (limited to '')
-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 a3d4a747..84d4f179 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -6176,7 +6176,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
}
case COMMAND_CHANGE_GARAGE_TYPE:
CollectParameters(&m_nIp, 2);
- CGarages::ChangeGarageType(ScriptParams[0], (eGarageType)ScriptParams[1]);
+ CGarages::ChangeGarageType(ScriptParams[0], (eGarageType)ScriptParams[1], 0);
return 0;
case COMMAND_ACTIVATE_CRUSHER_CRANE:
{