From 76c22f5be0f2afa7e6330afb7feb8475cac3cbda Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 1 Apr 2019 04:09:30 +0200 Subject: [PATCH] Core/Spells: removed a unneeded spell enum validation from Drain Life spell script --- src/server/scripts/Spells/spell_warlock.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index c75d40795d5..08472a6ffba 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -1468,11 +1468,7 @@ class spell_warl_drain_life : public SpellScriptLoader bool Validate(SpellInfo const* /*spellInfo*/) { - return ValidateSpellInfo( - { - SPELL_WARLOCK_DRAIN_LIFE_HEAL, - SPELL_WARLOCK_DRAIN_LIFE_SOULBURN - }); + return ValidateSpellInfo({ SPELL_WARLOCK_DRAIN_LIFE_HEAL }); } void HandlePeriodic(AuraEffect const* aurEff)