summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 13:16:59 +0200
committerGitHub <noreply@github.com>2020-04-08 13:16:59 +0200
commit8ee98574ffa61abf1d14e9511056dcadd537fc8b (patch)
treed2cf47605473651e0d3f80a8b9dcfae005682f99 /src
parentbug fix (diff)
downloadre3-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')
-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 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: