summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-01-01 13:16:38 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-01-01 13:16:38 +0100
commitb307893c9d39132221841287ff3ea98a0d7458a3 (patch)
tree583143b489272e6e6ddee7c1a30518d21df494b1 /src/control/Script.cpp
parentfix merge with upstream (diff)
downloadre3-b307893c9d39132221841287ff3ea98a0d7458a3.tar
re3-b307893c9d39132221841287ff3ea98a0d7458a3.tar.gz
re3-b307893c9d39132221841287ff3ea98a0d7458a3.tar.bz2
re3-b307893c9d39132221841287ff3ea98a0d7458a3.tar.lz
re3-b307893c9d39132221841287ff3ea98a0d7458a3.tar.xz
re3-b307893c9d39132221841287ff3ea98a0d7458a3.tar.zst
re3-b307893c9d39132221841287ff3ea98a0d7458a3.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 2e47b288..b3021094 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -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);