aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellEffects.cpp
diff options
context:
space:
mode:
authorBootz <Stage6Dev@EMPulseGaming.com>2011-10-07 10:54:53 -0500
committerBootz <Stage6Dev@EMPulseGaming.com>2011-10-07 10:54:53 -0500
commit96d7a1e9704d8bdf55e2197ce26adbefb0a84e61 (patch)
treedc9ea2734c64e5fea39912b63369f1b5544ca735 /src/server/game/Spells/SpellEffects.cpp
parentf1ccb83dc07c0036f832d38e7988816719ada43c (diff)
REPO: code-style clean-up
* Fixed pGuild->guild * Fixed pGroup->group * Fixed pOwner->owner
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp
index e441b0b9da4..776ff482b3a 100755
--- a/src/server/game/Spells/SpellEffects.cpp
+++ b/src/server/game/Spells/SpellEffects.cpp
@@ -3328,9 +3328,9 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
int32 heal_amount = m_spellInfo->Effects[EFFECT_1].CalcValue();
m_caster->CastCustomSpell(m_caster, 19658, &heal_amount, NULL, NULL, true);
// Glyph of Felhunter
- if (Unit* pOwner = m_caster->GetOwner())
- if (pOwner->GetAura(56249))
- pOwner->CastCustomSpell(pOwner, 19658, &heal_amount, NULL, NULL, true);
+ if (Unit* owner = m_caster->GetOwner())
+ if (owner->GetAura(56249))
+ owner->CastCustomSpell(owner, 19658, &heal_amount, NULL, NULL, true);
}
}