mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/AI Remove Reset() call from JustRespawned() hook
* Not needed, and causes trouble when using _DespawnAtEvade() * Closes #16786
This commit is contained in:
@@ -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*/) { }
|
||||
|
||||
Reference in New Issue
Block a user