diff options
| author | ccrs <ccrs@users.noreply.github.com> | 2019-08-03 17:45:06 +0200 |
|---|---|---|
| committer | ccrs <ccrs@users.noreply.github.com> | 2019-08-03 17:45:06 +0200 |
| commit | ec9f15a5fff7830bf2aebc517654784a6d54bb74 (patch) | |
| tree | 913351867c6e4153321b1bdb7eb0eadb8055bbb0 /src/server/game/Entities/Unit | |
| parent | 7e929f532e3dc471dcb8d036a4757c8c525d8e6f (diff) | |
Core/Unit: rename IsFocusing method
Workaround prework till actual facing system rework arrives
Diffstat (limited to 'src/server/game/Entities/Unit')
| -rw-r--r-- | src/server/game/Entities/Unit/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.h b/src/server/game/Entities/Unit/Unit.h index aefbacecb12..36542083450 100644 --- a/src/server/game/Entities/Unit/Unit.h +++ b/src/server/game/Entities/Unit/Unit.h @@ -1357,7 +1357,7 @@ class TC_GAME_API Unit : public WorldObject Spell* FindCurrentSpellBySpellId(uint32 spell_id) const; int32 GetCurrentSpellCastTime(uint32 spell_id) const; - virtual bool IsFocusing(Spell const* /*focusSpell*/ = nullptr, bool /*withDelay*/ = false) { return false; } + virtual bool HandleSpellFocus(Spell const* /*focusSpell*/ = nullptr, bool /*withDelay*/ = false) { return false; } virtual bool IsMovementPreventedByCasting() const; SpellHistory* GetSpellHistory() { return m_spellHistory; } |
