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

(specially during waves)
This commit is contained in:
Nyeriah committed 2014-11-23 03:26:24 -02:00
1 parent 3236f1641c
commit 0a0e9b196f
1 file changed
+1
@@ -292,6 +292,7 @@ public:
break;
}
player->CLOSE_GOSSIP_MENU();
ai->SetDespawnAtFar(false);
creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
return true;
}