*Better fix to the waypoint mobs returning to spawn issue, thanks XTElite1

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-17 01:26:54 -07:00
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -123,6 +123,7 @@ class TRINITY_DLL_SPEC CreatureAI : public UnitAI
// Called when the creature is target of hostile action: swing, hostile spell landed, fear/etc)
//virtual void AttackedBy(Unit* attacker);
virtual bool IsEscorted() {return false;}
// Called when creature is spawned or respawned (for reseting variables)
virtual void JustRespawned() { Reset(); }