Fix a lot of warnings
This commit is contained in:
1 parent
e47ec04b4d
commit
03c34ee507
38 files changed
+88
-98
No files matched your search
@@ -4651,7 +4651,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
|
||||
Unit::AuraEffectList const& blockSpells = m_caster->GetAuraEffectsByType(SPELL_AURA_BLOCK_SPELL_FAMILY);
|
||||
for (Unit::AuraEffectList::const_iterator blockItr = blockSpells.begin(); blockItr != blockSpells.end(); ++blockItr)
|
||||
if ((*blockItr)->GetMiscValue() == m_spellInfo->SpellFamilyName)
|
||||
if (uint32((*blockItr)->GetMiscValue()) == m_spellInfo->SpellFamilyName)
|
||||
return SPELL_FAILED_SPELL_UNAVAILABLE;
|
||||
|
||||
bool reqCombat = true;
|
||||
|
||||
Reference in new issue
Block a user