Core/Spells: Add parenthesis to some bitwise AND comparisons
This commit is contained in:
@@ -13231,13 +13231,13 @@ int32 Unit::ModSpellDuration(SpellInfo const* spellProto, Unit const* target, in
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
if (spellProto->SpellFamilyFlags[0] & 0x00000002 && spellProto->SpellIconID == 298)
|
||||
if ((spellProto->SpellFamilyFlags[0] & 0x00000002) && spellProto->SpellIconID == 298)
|
||||
{
|
||||
// Glyph of Blessing of Might
|
||||
if (AuraEffect* aurEff = GetAuraEffect(57958, 0))
|
||||
duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS;
|
||||
}
|
||||
else if (spellProto->SpellFamilyFlags[0] & 0x00010000 && spellProto->SpellIconID == 306)
|
||||
else if ((spellProto->SpellFamilyFlags[0] & 0x00010000) && spellProto->SpellIconID == 306)
|
||||
{
|
||||
// Glyph of Blessing of Wisdom
|
||||
if (AuraEffect* aurEff = GetAuraEffect(57979, 0))
|
||||
|
||||
Reference in New Issue
Block a user