mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/PacketIO: Fixed CMSG_PING (and pong)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user