Core/AI Remove Reset() call from JustRespawned() hook
* Not needed, and causes trouble when using _DespawnAtEvade() * Closes #16786
This commit is contained in:
1 parent
28840fd29e
commit
89141f1501
1 file changed
+2
-2
@@ -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*/) { }
|
||||
|
||||
Reference in new issue
Block a user