mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 01:29:16 +01:00
fixed ANCHOR_BOAT
This commit is contained in:
parent
28a942735c
commit
efb28b888d
@ -89,7 +89,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
|
|||||||
CollectParameters(&m_nIp, 2);
|
CollectParameters(&m_nIp, 2);
|
||||||
CBoat* pBoat = (CBoat*)CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CBoat* pBoat = (CBoat*)CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
script_assert(pBoat && pBoat->m_vehType == VEHICLE_TYPE_BOAT);
|
script_assert(pBoat && pBoat->m_vehType == VEHICLE_TYPE_BOAT);
|
||||||
pBoat->m_bIsAnchored = (ScriptParams[1] == 0);
|
pBoat->m_bIsAnchored = (ScriptParams[1] != 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_SET_ZONE_GROUP:
|
case COMMAND_SET_ZONE_GROUP:
|
||||||
|
Loading…
Reference in New Issue
Block a user