aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2019-08-03 17:45:06 +0200
committerccrs <ccrs@users.noreply.github.com>2019-08-03 17:45:06 +0200
commitec9f15a5fff7830bf2aebc517654784a6d54bb74 (patch)
tree913351867c6e4153321b1bdb7eb0eadb8055bbb0 /src/server/game/Spells/Spell.cpp
parent7e929f532e3dc471dcb8d036a4757c8c525d8e6f (diff)
Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r--src/server/game/Spells/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index 073a15a047d..947301abe7e 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4554,7 +4554,7 @@ void Spell::SendChannelStart(uint32 duration)
if (channelTarget != unitCaster->GetGUID())
if (Creature* creatureCaster = unitCaster->ToCreature())
- if (!creatureCaster->IsFocusing(this))
+ if (!creatureCaster->HandleSpellFocus(this))
creatureCaster->FocusTarget(this, ObjectAccessor::GetWorldObject(*creatureCaster, channelTarget));
}