From c65aa45bc64f7baa35c348a34f05d1d62a02c31a Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 10 Jan 2010 02:12:02 +0100 Subject: *Tabs to spaces *Fix a type in CreatureEventAI.cpp from last rev --HG-- branch : trunk --- src/game/SpellAuraEffects.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/game/SpellAuraEffects.cpp') diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index e9aa7b194ac..952ae649214 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -385,11 +385,11 @@ void AuraEffect::GetTargetList(std::list & targetList) const { Aura::ApplicationMap const & targetMap = GetBase()->GetApplicationMap(); // remove all targets which were not added to new list - they no longer deserve area aura - for (Aura::ApplicationMap::const_iterator appIter = targetMap.begin(); appIter != targetMap.end(); appIter++) - { + for (Aura::ApplicationMap::const_iterator appIter = targetMap.begin(); appIter != targetMap.end(); appIter++) + { if(appIter->second->HasEffect(GetEffIndex())) targetList.push_back(appIter->second->GetTarget()); - } + } } int32 AuraEffect::CalculateAmount(Unit * caster) @@ -397,11 +397,11 @@ int32 AuraEffect::CalculateAmount(Unit * caster) int32 amount; // default amount calculation if(caster) - amount = caster->CalculateSpellDamage(m_spellProto, m_effIndex, m_baseAmount, NULL); + amount = caster->CalculateSpellDamage(m_spellProto, m_effIndex, m_baseAmount, NULL); else amount = m_baseAmount + m_spellProto->EffectBaseDice[m_effIndex]; - // check item enchant aura cast + // check item enchant aura cast if(!amount && caster) if(uint64 itemGUID = GetBase()->GetCastItemGUID()) if(Player *playerCaster = dynamic_cast(caster)) -- cgit v1.2.3