diff options
| author | ccrs <ccrs@users.noreply.github.com> | 2019-08-03 17:45:06 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-12-18 00:25:14 +0100 |
| commit | be4ed9152c1a9c3dab9949eb36d867b763603f60 (patch) | |
| tree | 72d320d869b1a8749b28812100d02a820a542b85 /src/server/game/Spells/Spell.cpp | |
| parent | d2a3bae8627b5577c9372d0a549fb1d2fe2cb594 (diff) | |
Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
(cherry picked from commit ec9f15a5fff7830bf2aebc517654784a6d54bb74)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index a13a22044c9..f6925e947c5 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -4778,7 +4778,7 @@ void Spell::SendChannelStart(uint32 duration) if (m_UniqueTargetInfo.size() == 1 && m_UniqueGOTargetInfo.empty()) if(target.TargetGUID != unitCaster->GetGUID()) if (Creature* creatureCaster = unitCaster->ToCreature()) - if (!creatureCaster->IsFocusing(this)) + if (!creatureCaster->HandleSpellFocus(this)) creatureCaster->FocusTarget(this, ObjectAccessor::GetWorldObject(*creatureCaster, target.TargetGUID)); } |
