summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 01:59:17 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 01:59:17 +0100
commit4c0744260d2a7c1d9e015359edc58affb975fa03 (patch)
tree2d32e1f4658266e39c65937c1197c7277f51a487 /src/control/Script4.cpp
parentint8 enums fixed (diff)
downloadre3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.gz
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.bz2
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.lz
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.xz
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.tar.zst
re3-4c0744260d2a7c1d9e015359edc58affb975fa03.zip
Diffstat (limited to '')
-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 7de31528..9b8f854e 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -1513,7 +1513,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
CollectParameters(&m_nIp, 2);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
script_assert(pVehicle);
- pVehicle->SetStatus((eEntityStatus)ScriptParams[1]);
+ pVehicle->SetStatus(ScriptParams[1]);
return 0;
}
case COMMAND_IS_CHAR_MALE: