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
This commit is contained in:
parent
b87cffc763
commit
ef47674753
@ -1258,7 +1258,6 @@ void cClientHandle::Tick(float a_Dt)
|
|||||||
cPacket_KeepAlive Ping(m_PingID);
|
cPacket_KeepAlive Ping(m_PingID);
|
||||||
m_PingStartTime = t1.GetNowTime();
|
m_PingStartTime = t1.GetNowTime();
|
||||||
Send(Ping);
|
Send(Ping);
|
||||||
m_Ping = 1000; // default if it's > 1 second or they're timed out
|
|
||||||
m_LastPingTime = m_PingStartTime;
|
m_LastPingTime = m_PingStartTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user