summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-29 21:05:52 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-29 21:05:52 +0200
commitdd162c3aa068e83fab24b5b88cc6e3d35156984f (patch)
tree57aa01239a8438d292d6a36db075fe55aedcb3f9 /src/control/Script.cpp
parentR to freeroam, idle anims, weapon and cam enum fix (diff)
parentfix (diff)
downloadre3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar.gz
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar.bz2
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar.lz
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar.xz
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.tar.zst
re3-dd162c3aa068e83fab24b5b88cc6e3d35156984f.zip
Diffstat (limited to 'src/control/Script.cpp')
-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 d696c090..f3583cbe 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -10474,6 +10474,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:
{
@@ -10482,6 +10483,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:
{