From ea0421919a86e3d803a86d78c102c1a2567630a1 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 8 Jan 2009 22:12:09 -0600 Subject: *Try to fix the bug of visibility update. --HG-- branch : trunk --- src/game/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/Player.cpp') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 5dfc9a412b1..daf589dd9aa 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1735,6 +1735,9 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati ResetContestedPvP(); + DestroyForNearbyPlayers(); + m_clientGUIDs.clear(); + // remove player from battleground on far teleport (when changing maps) if(BattleGround const* bg = GetBattleGround()) { -- cgit v1.2.3