diff options
author | aap <aap@papnet.eu> | 2020-05-07 18:08:17 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-07 18:08:17 +0200 |
commit | f80474f5902a5dc43acc75e57e47fca6cc4b3312 (patch) | |
tree | 0a8ad275848c2d96e8dd8570fe1cae8aed5b580a /src/control/Script.cpp | |
parent | CZoneInfo mostly done; not its dependencies (diff) | |
download | re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar.gz re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar.bz2 re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar.lz re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar.xz re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.tar.zst re3-f80474f5902a5dc43acc75e57e47fca6cc4b3312.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 86fe412a..49da30b0 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -3160,14 +3160,14 @@ int8 CRunningScript::ProcessCommands300To399(int32 command) char label[12]; CTheScripts::ReadTextLabelFromScript(&m_nIp, label); m_nIp += KEY_LENGTH_IN_SCRIPT; - CollectParameters(&m_nIp, 10); + CollectParameters(&m_nIp, 12); int16 zone = CTheZones::FindZoneByLabelAndReturnIndex(label, ZONE_INFO); if (zone < 0) { debug("Couldn't find zone - %s\n", label); return 0; } CTheZones::SetZonePedInfo(zone, ScriptParams[0], ScriptParams[1], ScriptParams[2], ScriptParams[3], - ScriptParams[4], ScriptParams[5], ScriptParams[6], ScriptParams[7], ScriptParams[8], 0, 0, ScriptParams[9]); + ScriptParams[4], ScriptParams[5], ScriptParams[6], ScriptParams[7], ScriptParams[8], ScriptParams[9], ScriptParams[10], ScriptParams[11]); return 0; } case COMMAND_SET_TIME_SCALE: |