summaryrefslogtreecommitdiff
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 00:56:12 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 00:56:12 +0100
commitafdf8c25a05f280f524d946384cf74d69aa16e8a (patch)
treeac8168c89de8d1738d6c6fc488f1f0c492f0592a /src/control/Script4.cpp
parent4696e3f9c88cdf9e025205b0b525dec8c310b671 (diff)
int8 enums fixed
Diffstat (limited to 'src/control/Script4.cpp')
-rw-r--r--src/control/Script4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index feef70bc..399765f0 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -1459,7 +1459,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
case COMMAND_CHANGE_GARAGE_TYPE_WITH_CAR_MODEL:
{
CollectParameters(&m_nIp, 3);
- CGarages::ChangeGarageType(ScriptParams[0], (eGarageType)ScriptParams[1], ScriptParams[2]);
+ CGarages::ChangeGarageType(ScriptParams[0], ScriptParams[1], ScriptParams[2]);
return 0;
}
case COMMAND_FIND_DRUG_PLANE_COORDINATES: