From c6150b4d5d47454460623253627aede783bc8a6a Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 15 Apr 2025 15:34:58 +0200 Subject: Core/Spells: Make Spell::GetMinMaxRange public --- src/server/game/Spells/Spell.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/game/Spells/Spell.h b/src/server/game/Spells/Spell.h index 4a9fc2a186b..2c4f996d360 100644 --- a/src/server/game/Spells/Spell.h +++ b/src/server/game/Spells/Spell.h @@ -702,14 +702,14 @@ class TC_GAME_API Spell static bool CanIncreaseRangeByMovement(Unit const* unit); + std::pair GetMinMaxRange(bool strict) const; + protected: bool HasGlobalCooldown() const; void TriggerGlobalCooldown(); void CancelGlobalCooldown(); void _cast(bool skipCheck = false); - std::pair GetMinMaxRange(bool strict) const; - WorldObject* const m_caster; SpellValue* const m_spellValue; -- cgit v1.2.3