*Fix a bug that redundant packets are sent to clients which may cause freeze.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-17 14:35:11 -06:00
parent d4b52d5bbc
commit 5fb7a0585c
6 changed files with 10 additions and 28 deletions

View File

@@ -214,7 +214,6 @@ void Object::SendUpdateToPlayer(Player* player)
UpdateData upd;
WorldPacket packet;
upd.Clear();
BuildCreateUpdateBlockForPlayer(&upd, player);
upd.BuildPacket(&packet);
player->GetSession()->SendPacket(&packet);