From ef47674753466b2ee0eb7232bec1252f5ea4c616 Mon Sep 17 00:00:00 2001 From: "mtilden@gmail.com" Date: Tue, 27 Dec 2011 18:43:13 +0000 Subject: I'll lower my frequency of commits.. 1000 default ends up sent more often than calc'd packets. git-svn-id: http://mc-server.googlecode.com/svn/trunk@135 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cClientHandle.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'source/cClientHandle.cpp') diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 24051f605..2d3bbd87e 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -1258,7 +1258,6 @@ void cClientHandle::Tick(float a_Dt) cPacket_KeepAlive Ping(m_PingID); m_PingStartTime = t1.GetNowTime(); Send(Ping); - m_Ping = 1000; // default if it's > 1 second or they're timed out m_LastPingTime = m_PingStartTime; } -- cgit v1.2.3