mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 02:30:00 +00:00
don't cast script param to uint8
This commit is contained in:
parent
5e9a433b79
commit
7e11f639aa
|
@ -1436,7 +1436,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
|
||||||
CollectParameters(&m_nIp, 2);
|
CollectParameters(&m_nIp, 2);
|
||||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
script_assert(pVehicle);
|
script_assert(pVehicle);
|
||||||
pVehicle->SetStatus((uint8)ScriptParams[1]);
|
pVehicle->SetStatus(ScriptParams[1]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_IS_CHAR_MALE:
|
case COMMAND_IS_CHAR_MALE:
|
||||||
|
|
Loading…
Reference in a new issue