aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/AI/CreatureAI.h
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2019-05-15 01:33:55 +0200
committerccrs <ccrs@users.noreply.github.com>2019-05-15 01:33:55 +0200
commit179c7da1fc264b1444aa50632317e16dca02f78b (patch)
treec55bedd307f4af55636778e4082305d4fefcde0a /src/server/game/AI/CreatureAI.h
parent7025b0065646e0d70ba2ca0ef807ff4e9d8612ce (diff)
Core/AI: variable naming standarization
plus minimum codestyle changes
Diffstat (limited to 'src/server/game/AI/CreatureAI.h')
-rw-r--r--src/server/game/AI/CreatureAI.h9
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