From ef2440eb440521fd1201e2a82eed9ab9c866e4f1 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Tue, 8 Feb 2022 23:49:40 +0100 Subject: [PATCH] fix(Core/Spells): Revert an oopsie (#10598) --- src/server/game/Spells/SpellInfo.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/server/game/Spells/SpellInfo.h b/src/server/game/Spells/SpellInfo.h index 5aa10bf00..3aa53b341 100644 --- a/src/server/game/Spells/SpellInfo.h +++ b/src/server/game/Spells/SpellInfo.h @@ -523,22 +523,21 @@ public: std::array const& GetEffects() const { return Effects; } SpellEffectInfo const& GetEffect(SpellEffIndex index) const { ASSERT(index < Effects.size()); return Effects[index]; } + // loading helpers + void _InitializeExplicitTargetMask(); bool _IsPositiveEffect(uint8 effIndex, bool deep) const; bool _IsPositiveSpell() const; static bool _IsPositiveTarget(uint32 targetA, uint32 targetB); -private: - // loading helpers - void _InitializeExplicitTargetMask(); - AuraStateType LoadAuraState() const; SpellSpecificType LoadSpellSpecific() const; - std::array& _GetEffects() { return Effects; } - SpellEffectInfo& _GetEffect(SpellEffIndex index) { ASSERT(index < Effects.size()); return Effects[index]; } - // unloading helpers void _UnloadImplicitTargetConditionLists(); + +private: + std::array& _GetEffects() { return Effects; } + SpellEffectInfo& _GetEffect(SpellEffIndex index) { ASSERT(index < Effects.size()); return Effects[index]; } }; #endif // _SPELLINFO_H