mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-24 08:45:48 +00:00
Update GetTickCount to 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 = GetTickCount() - deferred->m_recievedTick;
|
||||
int tickInterval = GetTickCount64() - deferred->m_recievedTick;
|
||||
if (tickInterval < MAX_ENTITY_LINK_DEFERRAL_INTERVAL)
|
||||
{
|
||||
// Note: we assume it's the destination entity
|
||||
@@ -4127,6 +4127,6 @@ void ClientConnection::checkDeferredEntityLinkPackets(int newEntityId)
|
||||
|
||||
ClientConnection::DeferredEntityLinkPacket::DeferredEntityLinkPacket(shared_ptr<SetEntityLinkPacket> packet)
|
||||
{
|
||||
m_recievedTick = GetTickCount();
|
||||
m_recievedTick = GetTickCount64();
|
||||
m_packet = packet;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user