Scripts/CoS: Added SetDespawnAtFar, fixes Arthas despawning if no players are in range

(specially during waves)

(cherry picked from commit 0a0e9b196fe3e4db0d807beb17d90895c174ce84)
This commit is contained in:
Nyeriah
2014-11-23 03:28:59 -02:00
parent 7f96163c94
commit 3258818414
@@ -292,6 +292,7 @@ public:
break;
}
player->CLOSE_GOSSIP_MENU();
ai->SetDespawnAtFar(false);
creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
return true;
}