diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-08 13:16:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 13:16:59 +0200 |
commit | 8ee98574ffa61abf1d14e9511056dcadd537fc8b (patch) | |
tree | d2cf47605473651e0d3f80a8b9dcfae005682f99 /src/control/Script.cpp | |
parent | bug fix (diff) | |
download | re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar.gz re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar.bz2 re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar.lz re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar.xz re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.tar.zst re3-8ee98574ffa61abf1d14e9511056dcadd537fc8b.zip |
Diffstat (limited to 'src/control/Script.cpp')
-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 6b79265a..db36d766 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -7117,7 +7117,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command) case COMMAND_CLOSE_GARAGE: { CollectParameters(&m_nIp, 1); - CGarages::CloseGarage(ScriptParams[1]); + CGarages::CloseGarage(ScriptParams[0]); return 0; } case COMMAND_WARP_CHAR_FROM_CAR_TO_COORD: |