summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-29 15:52:02 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-29 15:52:02 +0200
commit627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe (patch)
treeb5e428b66bb82d572b2b837f979c94ca535d29fa /src/control
parentMerge pull request #603 from Fire-Head/miami (diff)
downloadre3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar.gz
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar.bz2
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar.lz
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar.xz
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.tar.zst
re3-627ffb0f827e28d45c2a5fa4a837e8f7a29ba9fe.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index b9ce5073..5d140782 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -10473,6 +10473,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
ScriptParams[1] = pPed->GetWeapon(ScriptParams[1]).m_nAmmoTotal;
ScriptParams[2] = CPickups::ModelForWeapon((eWeaponType)ScriptParams[0]);
StoreParameters(&m_nIp, 3);
+ return 0;
}
case COMMAND_GET_CLOSEST_STRAIGHT_ROAD:
{
@@ -10481,6 +10482,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
for (int i = 0; i < 7; i++)
ScriptParams[i] = 0;
StoreParameters(&m_nIp, 7); // TODO(MIAMI)
+ return 0;
}
case COMMAND_SET_CAR_FORWARD_SPEED:
{