summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2020-12-07 01:43:03 +0100
committerwithmorten <morten.with@gmail.com>2020-12-07 02:02:59 +0100
commit7e11f639aa468eaf24e51fa04a59fbe966119892 (patch)
tree81549777395ab7b7f48bbfd539be01d44ec50712 /src
parentint32 enum fixed (diff)
downloadre3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar.gz
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar.bz2
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar.lz
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar.xz
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.tar.zst
re3-7e11f639aa468eaf24e51fa04a59fbe966119892.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 399765f0..3629bb4b 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -1436,7 +1436,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
CollectParameters(&m_nIp, 2);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
script_assert(pVehicle);
- pVehicle->SetStatus((uint8)ScriptParams[1]);
+ pVehicle->SetStatus(ScriptParams[1]);
return 0;
}
case COMMAND_IS_CHAR_MALE: