diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-23 00:50:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 00:50:15 +0300 |
commit | e18eb0ce012282362203fc93e644914af1eaf51d (patch) | |
tree | cdc627512e3d9c0d56e48073536fab2cb4155c06 /src | |
parent | c993e99e0086aae50357c8ffa180de54396ede92 (diff) |
script fix
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Script.cpp | 2 |
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); |