Core/AI Remove Reset() call from JustRespawned() hook

* Not needed, and causes trouble when using _DespawnAtEvade()
* Closes #16786
This commit is contained in:
sirikfoll authored and Aokromes committed 2016-05-12 08:16:07 +02:00
1 parent 28840fd29e
commit 89141f1501
1 file changed
+2 -2
+2 -2
View File
@@ -137,8 +137,8 @@ class CreatureAI : public UnitAI
virtual void AttackedBy(Unit* /*attacker*/) { }
virtual bool IsEscorted() const { return false; }
// Called when creature is spawned or respawned (for reseting variables)
virtual void JustRespawned() { Reset(); }
// Called when creature is spawned or respawned
virtual void JustRespawned() { }
// Called at waypoint reached or point movement finished
virtual void MovementInform(uint32 /*type*/, uint32 /*id*/) { }