From 5b64078700e8dfa9377726f100ea9739486173a2 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 17 Feb 2018 21:26:50 +1000 Subject: [PATCH] Fix numbering of weapon flag bits --- qcsrc/common/weapons/weapon.qh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index 87cb11429f..460d95af65 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -195,10 +195,10 @@ const int WEP_FLAG_RELOADABLE = BIT(6); // can has reload const int WEP_FLAG_SUPERWEAPON = BIT(7); // powerup timer const int WEP_FLAG_MUTATORBLOCKED = BIT(8); // hides from impulse 99 etc. (mutators are allowed to clear this flag) const int WEP_TYPE_MELEE_PRI = BIT(9); // primary attack is melee swing (for animation) -const int WEP_TYPE_MELEE_SEC = BIT(12); // secondary attack is melee swing (for animation) -const int WEP_FLAG_DUALWIELD = BIT(13); // weapon can be dual wielded -const int WEP_FLAG_NODUAL = BIT(14); // weapon doesn't work well with dual wielding (fireball etc just explode on fire), doesn't currently prevent anything -const int WEP_FLAG_PENETRATEWALLS = BIT(15); // weapon has high calibur bullets that can penetrate thick walls (WEAPONTODO) +const int WEP_TYPE_MELEE_SEC = BIT(10); // secondary attack is melee swing (for animation) +const int WEP_FLAG_DUALWIELD = BIT(11); // weapon can be dual wielded +const int WEP_FLAG_NODUAL = BIT(12); // weapon doesn't work well with dual wielding (fireball etc just explode on fire), doesn't currently prevent anything +const int WEP_FLAG_PENETRATEWALLS = BIT(13); // weapon has high calibur bullets that can penetrate thick walls (WEAPONTODO) // variables: string weaponorder_byid; -- 2.39.2