mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
fixed script error
This commit is contained in:
1 parent
9b162554ca
commit
b01987719e
1 file changed
+1
-2
@@ -5601,8 +5601,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
|
||||
{
|
||||
CollectParameters(&m_nIp, 1);
|
||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||
assert(pVehicle);
|
||||
UpdateCompareFlag(pVehicle->bIsInWater);
|
||||
UpdateCompareFlag(pVehicle && pVehicle->bIsInWater);
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_GET_CLOSEST_CHAR_NODE:
|
||||
|
||||
Reference in new issue
Block a user