diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 01:43:03 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 02:02:59 +0100 |
commit | 7e11f639aa468eaf24e51fa04a59fbe966119892 (patch) | |
tree | 81549777395ab7b7f48bbfd539be01d44ec50712 /src/control | |
parent | int32 enum fixed (diff) | |
download | re3-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 'src/control')
-rw-r--r-- | src/control/Script4.cpp | 2 |
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: |