[8571] Avoid use ^ bitmask operation for bool values compare in general.

Also drop HandleSet32Bit logn unused and wrong coded chat command code.
This commit is contained in:
VladimirMangos 2009-09-30 19:30:18 +04:00
parent b2e32f4ff9
commit 47bf1dbce6
10 changed files with 10 additions and 37 deletions

View file

@ -6259,7 +6259,7 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
void Aura::PeriodicTick()
{
if (!m_target->isAlive() ^ IsDeathOnlySpell(GetSpellProto()))
if (!m_target->isAlive() != IsDeathOnlySpell(GetSpellProto()))
return;
switch(m_modifier.m_auraname)