This commit is contained in:
Nikolay Korolev 2020-01-01 15:16:38 +03:00
parent 402ecd6305
commit b307893c9d

View File

@ -5712,7 +5712,7 @@ int8 CRunningScript::ProcessCommandsFrom700To799(int32 command)
} }
case COMMAND_BOAT_STOP: case COMMAND_BOAT_STOP:
{ {
CollectParameters(&m_nIp, 4); CollectParameters(&m_nIp, 1);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
assert(pVehicle); assert(pVehicle);
assert(pVehicle->m_vehType == VEHICLE_TYPE_BOAT); assert(pVehicle->m_vehType == VEHICLE_TYPE_BOAT);