summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 01:30:38 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 01:30:38 +0100
commit912e71be537aec6a8b2681c8f0208107a379e216 (patch)
tree542456d2acc1acb2a2f15ae8a92ae51be41444e0 /src/control/Script4.cpp
parentuint16 enums fixed (diff)
downloadre3-912e71be537aec6a8b2681c8f0208107a379e216.tar
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.gz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.bz2
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.lz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.xz
re3-912e71be537aec6a8b2681c8f0208107a379e216.tar.zst
re3-912e71be537aec6a8b2681c8f0208107a379e216.zip
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 b2e2aaa5..7de31528 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -1537,7 +1537,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: