aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclick <clickvd@gonnamakeyou.com>2011-05-13 17:25:41 +0200
committerclick <clickvd@gonnamakeyou.com>2011-05-13 17:25:41 +0200
commita90e5be73dfb50df9e39eceb0a9863cc0124800f (patch)
treeb0ce25ccb44f1ceb67144b43654e2b74b657a4c2 /src
parentfcc83fba98ef68c51e60989a180f6e6325949d56 (diff)
Core/Spells: Simplify the auratest for Druid T8 Restoration 4P Bonus effects
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index a435cd57d5b..50d751b274b 100755
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -962,7 +962,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster,
if (GetSpellProto()->SpellFamilyFlags[0] & 0x10 && GetEffect(EFFECT_0))
{
// Druid T8 Restoration 4P Bonus
- if (AuraEffect const* aurEff = caster->GetAuraEffect(64760, EFFECT_0))
+ if (caster->HasAura(64760))
{
int32 heal = GetEffect(EFFECT_0)->GetAmount();
caster->CastCustomSpell(target, 64801, &heal, NULL, NULL, true, NULL, GetEffect(EFFECT_0));