diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 01:59:17 +0100 |
commit | 4c0744260d2a7c1d9e015359edc58affb975fa03 (patch) | |
tree | 2d32e1f4658266e39c65937c1197c7277f51a487 /src/control/Script6.cpp | |
parent | int8 enums fixed (diff) | |
download | re3-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 'src/control/Script6.cpp')
-rw-r--r-- | src/control/Script6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script6.cpp b/src/control/Script6.cpp index 53464804..50a7f745 100644 --- a/src/control/Script6.cpp +++ b/src/control/Script6.cpp @@ -1409,7 +1409,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) CollectParameters(&m_nIp, 3); CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); script_assert(pVehicle); - pVehicle->AutoPilot.m_nTempAction = (eCarTempAction)ScriptParams[1]; + pVehicle->AutoPilot.m_nTempAction = (uint8)ScriptParams[1]; pVehicle->AutoPilot.m_nTimeTempAction = CTimer::GetTimeInMilliseconds() + ScriptParams[2]; return 0; } |