Core/Creature: fix _DespawnAtEvade saving wrong respawn time

Closes #19557

(cherry picked from commit 47d387d6b0d123334e4721c55426c1d236297112)
This commit is contained in:
ariel-
2020-06-14 23:49:04 +02:00
committed by funjoker
parent 25f47e4680
commit 6fa8b8e1d5
2 changed files with 17 additions and 10 deletions
@@ -537,7 +537,7 @@ bool BossAI::CanAIAttack(Unit const* target) const
return CheckBoundary(target);
}
void BossAI::_DespawnAtEvade(uint32 delayToRespawn, Creature* who)
void BossAI::_DespawnAtEvade(uint32 delayToRespawn /*= 30*/, Creature* who /*= nullptr*/)
{
if (delayToRespawn < 2)
{