mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-06-05 14:09:02 +00:00
Use 64 bits for GetTickCount64
This commit is contained in:
@@ -4101,7 +4101,7 @@ void ClientConnection::checkDeferredEntityLinkPackets(int newEntityId)
|
||||
bool remove = false;
|
||||
|
||||
// Only consider recently deferred packets
|
||||
int tickInterval = GetTickCount64() - deferred->m_recievedTick;
|
||||
uint64_t tickInterval = GetTickCount64() - deferred->m_recievedTick;
|
||||
if (tickInterval < MAX_ENTITY_LINK_DEFERRAL_INTERVAL)
|
||||
{
|
||||
// Note: we assume it's the destination entity
|
||||
|
||||
Reference in New Issue
Block a user