*Some improvement of update visibility when players leave map.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-26 20:33:01 -06:00
1 parent dd5faef024
commit 52a5c5e8e3
2 files changed
+16 -15

No files matched your search

-11
View File
@@ -1714,17 +1714,6 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
ResetContestedPvP();
/*DestroyForNearbyPlayers();
{
UpdateData data;
for(ClientGUIDs::iterator i = m_clientGUIDs.begin(); i != m_clientGUIDs.end(); ++i)
data.AddOutOfRangeGUID(*i);
WorldPacket packet;
data.BuildPacket(&packet);
GetSession()->SendPacket(&packet);
}*/
m_clientGUIDs.clear();
// remove player from battleground on far teleport (when changing maps)
if(BattleGround const* bg = GetBattleGround())
{