mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 09:00:01 +00:00
fixed script error
This commit is contained in:
parent
9b162554ca
commit
b01987719e
|
@ -5601,8 +5601,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
|
||||||
{
|
{
|
||||||
CollectParameters(&m_nIp, 1);
|
CollectParameters(&m_nIp, 1);
|
||||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
assert(pVehicle);
|
UpdateCompareFlag(pVehicle && pVehicle->bIsInWater);
|
||||||
UpdateCompareFlag(pVehicle->bIsInWater);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_GET_CLOSEST_CHAR_NODE:
|
case COMMAND_GET_CLOSEST_CHAR_NODE:
|
||||||
|
|
Loading…
Reference in a new issue