diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-11-28 20:34:12 +0100 |
---|---|---|
committer | Ovahlord <dreadkiller@gmx.de> | 2024-11-28 20:34:12 +0100 |
commit | cb21cd8e24e069227b01ca2075a7eee4c37e9086 (patch) | |
tree | faf3f14eeaa138bc42a8f5f9d40f623626509c9b /src | |
parent | 4dedfcfe90b0657d5c5f87d58a7d8eaf6375a8f8 (diff) |
Core/Spells: removed a deprecated hack for marking Explosive Shot as ranged spell
*this spell has been removed in 4.0 and newer
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 3be44128034..5113c16fea1 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1720,9 +1720,7 @@ bool SpellInfo::IsNextMeleeSwingSpell() const bool SpellInfo::IsRangedWeaponSpell() const { - return (SpellFamilyName == SPELLFAMILY_HUNTER && !(SpellFamilyFlags[1] & 0x10000000)) // for 53352, cannot find better way - || (EquippedItemSubClassMask & ITEM_SUBCLASS_MASK_WEAPON_RANGED) - || (Attributes & SPELL_ATTR0_USES_RANGED_SLOT); + return (EquippedItemSubClassMask & ITEM_SUBCLASS_MASK_WEAPON_RANGED) || (Attributes & SPELL_ATTR0_USES_RANGED_SLOT); } bool SpellInfo::IsAutoRepeatRangedSpell() const |