mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 19:00:07 +00: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);
|
||||
CBoat* pBoat = (CBoat*)CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||
script_assert(pBoat && pBoat->m_vehType == VEHICLE_TYPE_BOAT);
|
||||
pBoat->m_bIsAnchored = (ScriptParams[1] == 0);
|
||||
pBoat->m_bIsAnchored = (ScriptParams[1] != 0);
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_SET_ZONE_GROUP:
|
||||
|
|
Loading…
Reference in a new issue