mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[12656m] Updated some enums and structures. Thanks R2/TC
This commit is contained in:
parent
c8194124df
commit
93a3a9214b
10 changed files with 120 additions and 27 deletions
|
|
@ -1437,7 +1437,9 @@ void WorldSession::HandleTimeSyncResp(WorldPacket& recv_data)
|
|||
DEBUG_LOG("WORLD: Received opcode CMSG_TIME_SYNC_RESP: counter %u, client ticks %u, time since last sync %u", counter, clientTicks, clientTicks - _player->m_timeSyncClient);
|
||||
|
||||
if (counter != _player->m_timeSyncCounter - 1)
|
||||
{
|
||||
DEBUG_LOG(" WORLD: Opcode CMSG_TIME_SYNC_RESP -- Wrong time sync counter from %s (cheater?)", _player->GetGuidStr().c_str());
|
||||
}
|
||||
|
||||
uint32 ourTicks = clientTicks + (WorldTimer::getMSTime() - _player->m_timeSyncServer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue