diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-26 16:16:39 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-26 16:16:39 +0200 |
commit | 542e746f66593ac63eb1a269ba9708593a627b24 (patch) | |
tree | 5b34d3e36618b16210fa91098d627e08d8de1341 /src/control/Script.cpp | |
parent | script 500-599 plus bugfix (diff) | |
download | re3-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.cpp | 1 |
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: { |