diff options
Diffstat (limited to 'src/server/game/AI/CreatureAI.h')
-rw-r--r-- | src/server/game/AI/CreatureAI.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/server/game/AI/CreatureAI.h b/src/server/game/AI/CreatureAI.h index e8406722608..af8aa4022f9 100644 --- a/src/server/game/AI/CreatureAI.h +++ b/src/server/game/AI/CreatureAI.h @@ -150,10 +150,10 @@ class TC_GAME_API CreatureAI : public UnitAI virtual void ReceiveEmote(Player* /*player*/, uint32 /*emoteId*/) { } // Called when owner takes damage - virtual void OwnerAttackedBy(Unit* attacker) { _OnOwnerCombatInteraction(attacker); } + virtual void OwnerAttackedBy(Unit* attacker) { OnOwnerCombatInteraction(attacker); } // Called when owner attacks something - virtual void OwnerAttacked(Unit* target) { _OnOwnerCombatInteraction(target); } + virtual void OwnerAttacked(Unit* target) { OnOwnerCombatInteraction(target); } /// == Triggered Actions Requested ================== @@ -235,8 +235,9 @@ class TC_GAME_API CreatureAI : public UnitAI bool _negateBoundary; private: - bool m_MoveInLineOfSight_locked; - void _OnOwnerCombatInteraction(Unit* target); + void OnOwnerCombatInteraction(Unit* target); + + bool _moveInLOSLocked; }; enum Permitions : int32 |