diff options
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: { |