mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
*Fix a typo.
--HG-- branch : trunk
This commit is contained in:
@@ -322,7 +322,7 @@ inline bool IsAutoRepeatRangedSpell(SpellEntry const* spellInfo)
|
||||
inline bool IsRangedWeaponSpell(SpellEntry const* spellInfo)
|
||||
{
|
||||
//spell->DmgClass == SPELL_DAMAGE_CLASS_RANGED should be checked outside
|
||||
return (spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER && !(spellInfo->SpellFamilyFlags[1] & 0x100000000)) // for 53352, cannot find better way
|
||||
return (spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER && !(spellInfo->SpellFamilyFlags[1] & 0x10000000)) // for 53352, cannot find better way
|
||||
|| (spellInfo->EquippedItemSubClassMask & ITEM_SUBCLASS_MASK_WEAPON_RANGED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user