aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-08 22:12:09 -0600
committermegamage <none@none>2009-01-08 22:12:09 -0600
commitea0421919a86e3d803a86d78c102c1a2567630a1 (patch)
tree9db1ac1075141ad0e864f570f014f60740fbeddc /src/game/Player.cpp
parent2377f49ea86b5c6a7f29b5d1949cd90b1594b660 (diff)
*Try to fix the bug of visibility update.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp3
1 files changed, 3 insertions, 0 deletions
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())
{