mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
uint8 enums fixed
This commit is contained in:
1 parent
912e71be53
commit
4c0744260d
22 files changed
+48
-49
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user