From 23d56d3bc6bfc2bf67f2bbd67f2fe706d1bcd886 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 22 Oct 2020 23:59:16 +0200 Subject: [PATCH] Core/Spells: fixed warnings --- src/server/scripts/Spells/spell_druid.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 5374bb3e33f..faab3c6fb45 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -346,7 +346,7 @@ class spell_dru_eclipse_mastery_driver_passive : public AuraScript AfterEffectProc.Register(&spell_dru_eclipse_mastery_driver_passive::HandleEclipseProc, EFFECT_1, SPELL_AURA_PROC_ON_POWER_AMOUNT); } private: - int32 const GetEnergyGainFromSpellInfo(SpellInfo const* spell) + int32 GetEnergyGainFromSpellInfo(SpellInfo const* spell) { Unit* target = GetTarget(); int32 energyAmount = 0; @@ -396,7 +396,6 @@ private: AuraEffect* _eclipseMarker = nullptr; int32 _energyAmount = 0; - int32 _starsurgeEnergyAmount = 0; int32 _euphoriaEnergyAmount = 0; };