Core/Players: Do not clear m_clientGUIDs when using seamless teleport to properly receive DestroyObjects block

This commit is contained in:
Shauren
2015-05-07 00:18:19 +02:00
parent ed75b0649a
commit 0972552e84

View File

@@ -489,9 +489,10 @@ bool Map::AddPlayerToMap(Player* player, bool initPlayer /*= true*/)
SendInitTransports(player);
SendZoneDynamicInfo(player);
player->m_clientGUIDs.clear();
player->UpdateObjectVisibility(false);
if (initPlayer)
player->m_clientGUIDs.clear();
player->UpdateObjectVisibility(false);
player->SendUpdatePhasing();
sScriptMgr->OnPlayerEnterMap(this, player);