aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/CreatureAI.h')
-rw-r--r--src/game/CreatureAI.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/CreatureAI.h b/src/game/CreatureAI.h
index abbdc24036b..d06fe80d0fa 100644
--- a/src/game/CreatureAI.h
+++ b/src/game/CreatureAI.h
@@ -68,7 +68,6 @@ class CreatureAI : public UnitAI
{
protected:
Creature * const me;
- Creature * const m_creature;
bool UpdateVictim();
bool UpdateVictimWithGaze();
@@ -83,7 +82,7 @@ class CreatureAI : public UnitAI
Creature *DoSummonFlyer(uint32 uiEntry, WorldObject *obj, float fZ, float fRadius = 5.0f, uint32 uiDespawntime = 30000, TempSummonType uiType = TEMPSUMMON_CORPSE_TIMED_DESPAWN);
public:
- explicit CreatureAI(Creature *c) : UnitAI((Unit*)c), me(c), m_creature(c), m_MoveInLineOfSight_locked(false) {}
+ explicit CreatureAI(Creature *c) : UnitAI((Unit*)c), me(c), m_MoveInLineOfSight_locked(false) {}
virtual ~CreatureAI() {}
@@ -169,7 +168,7 @@ class CreatureAI : public UnitAI
/// == Fields =======================================
// Pointer to controlled by AI creature
- //Creature* const m_creature;
+ //Creature* const me;
virtual void PassengerBoarded(Unit *who, int8 seatId, bool apply) {}