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

* Not needed, and causes trouble when using _DespawnAtEvade()
* Closes #16786
This commit is contained in:
sirikfoll
2016-03-14 19:09:18 -03:00
committed by Naios
parent 07d702e06e
commit acf6681353

View File

@@ -137,8 +137,8 @@ class TC_GAME_API 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*/) { }