summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-22 23:50:15 +0200
committerGitHub <noreply@github.com>2020-05-22 23:50:15 +0200
commite18eb0ce012282362203fc93e644914af1eaf51d (patch)
treecdc627512e3d9c0d56e48073536fab2cb4155c06 /src
parentFix linux build (diff)
downloadre3-e18eb0ce012282362203fc93e644914af1eaf51d.tar
re3-e18eb0ce012282362203fc93e644914af1eaf51d.tar.gz
re3-e18eb0ce012282362203fc93e644914af1eaf51d.tar.bz2
re3-e18eb0ce012282362203fc93e644914af1eaf51d.tar.lz
re3-e18eb0ce012282362203fc93e644914af1eaf51d.tar.xz
re3-e18eb0ce012282362203fc93e644914af1eaf51d.tar.zst
re3-e18eb0ce012282362203fc93e644914af1eaf51d.zip
Diffstat (limited to 'src')
-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 68b396f3..082beda9 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -4333,7 +4333,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
}
case COMMAND_SET_CAR_HEAVY:
{
- CollectParameters(&m_nIp, 1);
+ CollectParameters(&m_nIp, 2);
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
assert(pVehicle);
pVehicle->bIsHeavy = (ScriptParams[1] != 0);