summaryrefslogtreecommitdiffstats
path: root/src/control/Script8.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-12 10:24:55 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-12 10:24:55 +0100
commit4197498e2dab59916c0a41843b430d8a26b485f9 (patch)
treea79b612c1d1874219315da549943a55d25861f52 /src/control/Script8.cpp
parentMerge pull request #869 from Nick007J/miami (diff)
downloadre3-4197498e2dab59916c0a41843b430d8a26b485f9.tar
re3-4197498e2dab59916c0a41843b430d8a26b485f9.tar.gz
re3-4197498e2dab59916c0a41843b430d8a26b485f9.tar.bz2
re3-4197498e2dab59916c0a41843b430d8a26b485f9.tar.lz
re3-4197498e2dab59916c0a41843b430d8a26b485f9.tar.xz
re3-4197498e2dab59916c0a41843b430d8a26b485f9.tar.zst
re3-4197498e2dab59916c0a41843b430d8a26b485f9.zip
Diffstat (limited to 'src/control/Script8.cpp')
-rw-r--r--src/control/Script8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script8.cpp b/src/control/Script8.cpp
index ddeaf64b..08965e72 100644
--- a/src/control/Script8.cpp
+++ b/src/control/Script8.cpp
@@ -63,7 +63,7 @@ int8 CRunningScript::ProcessCommands1400To1499(int32 command)
case COMMAND_SET_MAXIMUM_NUMBER_OF_CARS_IN_GARAGE:
CollectParameters(&m_nIp, 2);
CGarages::SetMaxNumStoredCarsForGarage(ScriptParams[0], ScriptParams[1]);
- break;
+ return 0;
case COMMAND_WANTED_STARS_ARE_FLASHING:
{
CWanted *pWanted = CWorld::Players[CWorld::PlayerInFocus].m_pPed->m_pWanted;