From b00d313ee899564e19c0b3802b38e0839eb07089 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Thu, 17 Nov 2005 18:52:35 +0000 Subject: [PATCH] fixed but at21777 --- dlls/ns/ns/NPData.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/ns/ns/NPData.cpp b/dlls/ns/ns/NPData.cpp index 04073280..ec88c04b 100755 --- a/dlls/ns/ns/NPData.cpp +++ b/dlls/ns/ns/NPData.cpp @@ -228,6 +228,9 @@ static cell AMX_NATIVE_CALL ns_set_weap_reserve(AMX *amx, cell *params) case WEAPON_LMG: set_private(player->edict,OFFSET_WIN_AMMO_LMG,OFFSET_LIN_AMMO_LMG,(int)params[3]); return 1; + case WEAPON_SHOTGUN: + set_private(player->edict,OFFSET_WIN_AMMO_SHOTGUN,OFFSET_LIN_AMMO_SHOTGUN,(int)params[3]); + return 1; case WEAPON_HMG: set_private(player->edict,OFFSET_WIN_AMMO_HMG,OFFSET_LIN_AMMO_HMG,(int)params[3]); return 1;