* added: also send own latency in ping packet

This commit is contained in:
false_genesis 2008-02-04 20:02:04 +00:00
parent 389799fa4e
commit ef35b7bd09

View File

@ -47,6 +47,7 @@ void WorldSession::SendPing(uint32 ping)
return; return;
WorldPacket packet; WorldPacket packet;
packet << ping; packet << ping;
packet << GetLagMS();
packet.SetOpcode(CMSG_PING); packet.SetOpcode(CMSG_PING);
SendWorldPacket(packet); SendWorldPacket(packet);
} }