diff options
| author | maximius <none@none> | 2009-11-20 19:11:28 -0800 | 
|---|---|---|
| committer | maximius <none@none> | 2009-11-20 19:11:28 -0800 | 
| commit | 654519d1a685e3b666c3be4eb74bbecd747bf735 (patch) | |
| tree | 6426d9dacd803508dd2761d715b1bf62b38aea6f /src/game/SpellAuras.cpp | |
| parent | 5b54c76ac339769978e869c8326720f99bd36b3e (diff) | |
*Some cleanup (mostly whitespace changes)
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 93ad35d7dbc..15893c51adb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3899,7 +3899,7 @@ void AuraEffect::HandleChannelDeathItem(bool apply, bool Real, bool /*changeAmou          // Soul Shard only from non-grey units          if( spellInfo->EffectItemType[m_effIndex] == 6265 &&              (victim->getLevel() <= Trinity::XP::GetGrayLevel(caster->getLevel()) || -             victim->GetTypeId()==TYPEID_UNIT && !((Player*)caster)->isAllowedToLoot((Creature*)victim)) ) +             victim->GetTypeId() == TYPEID_UNIT && !((Player*)caster)->isAllowedToLoot((Creature*)victim)) )              return;          //Adding items          uint32 noSpaceForCount = 0; @@ -4476,7 +4476,7 @@ void AuraEffect::HandleModMechanicImmunity(bool apply, bool Real, bool /*changeA      if(apply && GetSpellProto()->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)      {          Unit::AuraMap& Auras = m_target->GetAuras(); -        for (Unit::AuraMap::iterator iter = Auras.begin(); iter != Auras.end(); ) +        for (Unit::AuraMap::iterator iter = Auras.begin(); iter != Auras.end();)          {              SpellEntry const *spell = iter->second->GetSpellProto();              if (spell->Id != GetId()) @@ -4557,7 +4557,7 @@ void AuraEffect::HandleAuraModSchoolImmunity(bool apply, bool Real, bool /*chang      {          uint32 school_mask = GetMiscValue();          Unit::AuraMap& Auras = m_target->GetAuras(); -        for (Unit::AuraMap::iterator iter = Auras.begin(); iter != Auras.end(); ) +        for (Unit::AuraMap::iterator iter = Auras.begin(); iter != Auras.end();)          {              SpellEntry const *spell = iter->second->GetSpellProto();              if((GetSpellSchoolMask(spell) & school_mask)//Check for school mask  | 
