summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-10-26 16:16:39 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-10-26 16:16:39 +0200
commit542e746f66593ac63eb1a269ba9708593a627b24 (patch)
tree5b34d3e36618b16210fa91098d627e08d8de1341 /src/control/Script.cpp
parentscript 500-599 plus bugfix (diff)
downloadre3-542e746f66593ac63eb1a269ba9708593a627b24.tar
re3-542e746f66593ac63eb1a269ba9708593a627b24.tar.gz
re3-542e746f66593ac63eb1a269ba9708593a627b24.tar.bz2
re3-542e746f66593ac63eb1a269ba9708593a627b24.tar.lz
re3-542e746f66593ac63eb1a269ba9708593a627b24.tar.xz
re3-542e746f66593ac63eb1a269ba9708593a627b24.tar.zst
re3-542e746f66593ac63eb1a269ba9708593a627b24.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 89400900..804a50c4 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -3680,6 +3680,7 @@ int8 CRunningScript::ProcessCommandsFrom400To499(int32 command)
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
assert(pPed);
pPed->m_nSelectedWepSlot = pPed->GiveWeapon((eWeaponType)ScriptParams[1], ScriptParams[2]);
+ return 0;
}
case COMMAND_GIVE_WEAPON_TO_CHAR:
{