diff options
| author | treeston <treeston.mmoc@gmail.com> | 2016-10-15 18:18:56 +0200 |
|---|---|---|
| committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-10-03 17:21:23 +0200 |
| commit | 10e8b61f902c224da24adfe9122ee7f27d551ff0 (patch) | |
| tree | 96fe565d1cddafd51bbc7a6d9afe72df17e4d52c /src/server/game/AI/ScriptedAI | |
| parent | 527c5081f95118ff0a66ced09dc2ed3c968e6b35 (diff) | |
Fix _DespawnAtEvade for other creatures to actually respawn said other creatures.
Also fix add aggro for Hadronox.
Fixes and closes #18012.
(cherry picked from commit 1ecdea5374f331f0c71e543e713592baa21e6e99)
Diffstat (limited to 'src/server/game/AI/ScriptedAI')
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedCreature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp index d7fee0cd2d5..acadbfd670b 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp @@ -598,7 +598,7 @@ void BossAI::_DespawnAtEvade(uint32 delayToRespawn, Creature* who) return; } - me->DespawnOrUnsummon(0, Seconds(delayToRespawn)); + who->DespawnOrUnsummon(0, Seconds(delayToRespawn)); if (instance && who == me) instance->SetBossState(_bossId, FAIL); |
