From 9c55eed549e345a021a795c121524beaf0a15385 Mon Sep 17 00:00:00 2001 From: Bara Date: Fri, 24 May 2019 15:03:42 +0200 Subject: [PATCH] Add Shield and Bumpmine to cstrike.inc (#991) --- extensions/cstrike/util_cstrike.cpp | 2 +- plugins/include/cstrike.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/cstrike/util_cstrike.cpp b/extensions/cstrike/util_cstrike.cpp index b579bb6ab..c369cb03b 100644 --- a/extensions/cstrike/util_cstrike.cpp +++ b/extensions/cstrike/util_cstrike.cpp @@ -326,7 +326,7 @@ SMCSWeapon GetWeaponIdFromDefIdx(uint16_t iDefIdx) SMCSWeapon_UMP45, SMCSWeapon_XM1014, SMCSWeapon_BIZON, SMCSWeapon_MAG7, SMCSWeapon_NEGEV, SMCSWeapon_SAWEDOFF, SMCSWeapon_TEC9, SMCSWeapon_TASER, SMCSWeapon_HKP2000, SMCSWeapon_MP7, SMCSWeapon_MP9, SMCSWeapon_NOVA, - SMCSWeapon_P250, SMCSWeapon_NONE, SMCSWeapon_SCAR20, SMCSWeapon_SG556, + SMCSWeapon_P250, SMCSWeapon_SHIELD, SMCSWeapon_SCAR20, SMCSWeapon_SG556, SMCSWeapon_SSG08, SMCSWeapon_KNIFE_GG, SMCSWeapon_KNIFE, SMCSWeapon_FLASHBANG, SMCSWeapon_HEGRENADE, SMCSWeapon_SMOKEGRENADE, SMCSWeapon_MOLOTOV, SMCSWeapon_DECOY, SMCSWeapon_INCGRENADE, SMCSWeapon_C4, SMCSWeapon_KEVLAR, SMCSWeapon_ASSAULTSUIT, diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index d7ef0f2fa..542113399 100644 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -153,6 +153,7 @@ enum CSWeaponID CSWeapon_DIVERSION = 82, CSWeapon_FRAGGRENADE = 83, CSWeapon_SNOWBALL = 84, + CSWeapon_BUMPMINE = 85, CSWeapon_MAX_WEAPONS_NO_KNIFES, // Max without the knife item defs, useful when treating all knives as a regular knife. CSWeapon_BAYONET = 500, CSWeapon_KNIFE_FLIP = 505,