diff options
| author | megamage <none@none> | 2009-01-23 22:10:59 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-23 22:10:59 -0600 |
| commit | c62acd32f85b4d1a4242e2d7a0f3f9eec92a7fda (patch) | |
| tree | 3010022dacd6e661bb2c7a693ad23a8a12b32630 /src/game/Player.cpp | |
| parent | 8a6277dab2c818a5d0b9f5eef2815f2dedfa41ae (diff) | |
*Fix the bug that player cannot see other units after changing map (the last rev does not work).
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 2fac72bb3c7..405d2a72c4f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1735,7 +1735,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati ResetContestedPvP(); - DestroyForNearbyPlayers(); + /*DestroyForNearbyPlayers(); { UpdateData data; for(ClientGUIDs::iterator i = m_clientGUIDs.begin(); i != m_clientGUIDs.end(); ++i) @@ -1743,7 +1743,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati WorldPacket packet; data.BuildPacket(&packet); GetSession()->SendPacket(&packet); - } + }*/ m_clientGUIDs.clear(); // remove player from battleground on far teleport (when changing maps) |
