Skip to content

Commit 9c55eed

Browse files
BaraHeadline
authored andcommitted
Add Shield and Bumpmine to cstrike.inc (#991)
1 parent f9ce25a commit 9c55eed

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/cstrike/util_cstrike.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ SMCSWeapon GetWeaponIdFromDefIdx(uint16_t iDefIdx)
326326
SMCSWeapon_UMP45, SMCSWeapon_XM1014, SMCSWeapon_BIZON, SMCSWeapon_MAG7,
327327
SMCSWeapon_NEGEV, SMCSWeapon_SAWEDOFF, SMCSWeapon_TEC9, SMCSWeapon_TASER,
328328
SMCSWeapon_HKP2000, SMCSWeapon_MP7, SMCSWeapon_MP9, SMCSWeapon_NOVA,
329-
SMCSWeapon_P250, SMCSWeapon_NONE, SMCSWeapon_SCAR20, SMCSWeapon_SG556,
329+
SMCSWeapon_P250, SMCSWeapon_SHIELD, SMCSWeapon_SCAR20, SMCSWeapon_SG556,
330330
SMCSWeapon_SSG08, SMCSWeapon_KNIFE_GG, SMCSWeapon_KNIFE, SMCSWeapon_FLASHBANG,
331331
SMCSWeapon_HEGRENADE, SMCSWeapon_SMOKEGRENADE, SMCSWeapon_MOLOTOV, SMCSWeapon_DECOY,
332332
SMCSWeapon_INCGRENADE, SMCSWeapon_C4, SMCSWeapon_KEVLAR, SMCSWeapon_ASSAULTSUIT,

plugins/include/cstrike.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ enum CSWeaponID
153153
CSWeapon_DIVERSION = 82,
154154
CSWeapon_FRAGGRENADE = 83,
155155
CSWeapon_SNOWBALL = 84,
156+
CSWeapon_BUMPMINE = 85,
156157
CSWeapon_MAX_WEAPONS_NO_KNIFES, // Max without the knife item defs, useful when treating all knives as a regular knife.
157158
CSWeapon_BAYONET = 500,
158159
CSWeapon_KNIFE_FLIP = 505,

0 commit comments

Comments
 (0)