aboutsummaryrefslogtreecommitdiff
path: root/src/game/PetAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/PetAI.h')
-rw-r--r--src/game/PetAI.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/PetAI.h b/src/game/PetAI.h
index 864195701c2..67ce6edefe3 100644
--- a/src/game/PetAI.h
+++ b/src/game/PetAI.h
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ class TRINITY_DLL_DECL PetAI : public CreatureAI
{
public:
- PetAI(Creature *c);
+ explicit PetAI(Creature *c);
void EnterEvadeMode();
void JustDied(Unit* who) { _stopAttack(); }
@@ -46,8 +46,8 @@ class TRINITY_DLL_DECL PetAI : public CreatureAI
void UpdateAllies();
- Creature &i_pet;
TimeTracker i_tracker;
+ bool inCombat;
std::set<uint64> m_AllySet;
uint32 m_updateAlliesTimer;