sawce forgot to add the shotgun to the list for retreiving reserve ammo. fixed.

This commit is contained in:
CheesyPeteza 2005-07-09 22:42:29 +00:00
parent 1c8aca42eb
commit d270feb15f

View File

@ -199,6 +199,8 @@ static cell AMX_NATIVE_CALL ns_get_weap_reserve(AMX *amx, cell *params)
return get_private(player->edict,OFFSET_WIN_AMMO_PISTOL,OFFSET_LIN_AMMO_PISTOL);
case WEAPON_LMG:
return get_private(player->edict,OFFSET_WIN_AMMO_LMG,OFFSET_LIN_AMMO_LMG);
case WEAPON_SHOTGUN:
return get_private(player->edict,OFFSET_WIN_AMMO_SHOTGUN,OFFSET_LIN_AMMO_SHOTGUN);
case WEAPON_HMG:
return get_private(player->edict,OFFSET_WIN_AMMO_HMG,OFFSET_LIN_AMMO_HMG);
case WEAPON_GRENADE_GUN: