Skip to content
This repository has been archived by the owner. It is now read-only.

600-799 script commands; bug fixes #285

Merged
merged 13 commits into from Jan 7, 2020
bug fix
  • Loading branch information
Nick007J committed Jan 1, 2020
commit b307893c9d39132221841287ff3ea98a0d7458a3
@@ -5712,7 +5712,7 @@ int8 CRunningScript::ProcessCommandsFrom700To799(int32 command)
}
case COMMAND_BOAT_STOP:
{
CollectParameters(&m_nIp, 4);
CollectParameters(&m_nIp, 1);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
assert(pVehicle);
assert(pVehicle->m_vehType == VEHICLE_TYPE_BOAT);