aboutsummaryrefslogtreecommitdiff
path: root/src/game/GuardAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GuardAI.h')
-rw-r--r--src/game/GuardAI.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/GuardAI.h b/src/game/GuardAI.h
index 3bc7ac35f8e..db1bfe0229d 100644
--- a/src/game/GuardAI.h
+++ b/src/game/GuardAI.h
@@ -36,7 +36,7 @@ class TRINITY_DLL_DECL GuardAI : public CreatureAI
public:
- GuardAI(Creature *c);
+ explicit GuardAI(Creature *c);
void MoveInLineOfSight(Unit *);
void EnterEvadeMode();
@@ -47,7 +47,6 @@ class TRINITY_DLL_DECL GuardAI : public CreatureAI
static int Permissible(const Creature *);
private:
- Creature &i_creature;
uint64 i_victimGuid;
GuardState i_state;
TimeTracker i_tracker;