diff options
Diffstat (limited to 'src/game/TotemAI.cpp')
-rw-r--r-- | src/game/TotemAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/TotemAI.cpp b/src/game/TotemAI.cpp index 81113a3a9f8..184cb141913 100644 --- a/src/game/TotemAI.cpp +++ b/src/game/TotemAI.cpp @@ -68,9 +68,9 @@ TotemAI::UpdateAI(const uint32 /*diff*/) if (!spellInfo) return; - // Get spell rangy + // Get spell range SpellRangeEntry const* srange = sSpellRangeStore.LookupEntry(spellInfo->rangeIndex); - float max_range = GetSpellMaxRange(srange); + float max_range = GetSpellMaxRangeForHostile(srange); // SPELLMOD_RANGE not applied in this place just because not existence range mods for attacking totems |