Core/PacketIO: Fixed CMSG_PING (and pong)

This commit is contained in:
Shauren
2012-07-26 18:36:26 +02:00
parent 8a98ae2d48
commit 868c6e853b

View File

@@ -1051,8 +1051,8 @@ int WorldSocket::HandlePing (WorldPacket& recvPacket)
uint32 latency;
// Get the ping packet content
recvPacket >> ping;
recvPacket >> latency;
recvPacket >> ping;
if (m_LastPingTime == ACE_Time_Value::zero)
m_LastPingTime = ACE_OS::gettimeofday(); // for 1st ping