[12065] Fix various warnings

This commit is contained in:
Schmoozerd 2012-07-20 18:48:48 +02:00
parent 5f4d61928f
commit 84080ee5d3
27 changed files with 91 additions and 89 deletions

View file

@ -2127,13 +2127,13 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
return false;
// Shadowflame and Curse of Agony
if (spellInfo_1->SpellIconID == 544 && spellInfo_2->SpellIconID == 3317 ||
spellInfo_2->SpellIconID == 544 && spellInfo_1->SpellIconID == 3317)
if ((spellInfo_1->SpellIconID == 544 && spellInfo_2->SpellIconID == 3317) ||
(spellInfo_2->SpellIconID == 544 && spellInfo_1->SpellIconID == 3317))
return false;
// Shadowflame and Curse of Doom
if (spellInfo_1->SpellIconID == 91 && spellInfo_2->SpellIconID == 3317 ||
spellInfo_2->SpellIconID == 91 && spellInfo_1->SpellIconID == 3317)
if ((spellInfo_1->SpellIconID == 91 && spellInfo_2->SpellIconID == 3317) ||
(spellInfo_2->SpellIconID == 91 && spellInfo_1->SpellIconID == 3317))
return false;
// Metamorphosis, diff effects