*Fix a bug that redundant packets are sent to clients which may cause freeze.
--HG-- branch : trunk
This commit is contained in:
1 parent
d4b52d5bbc
commit
5fb7a0585c
6 files changed
+10
-28
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user