diff options
| author | oy <Tom_Adams@web.de> | 2012-04-20 01:11:32 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2013-02-24 17:28:39 +0100 |
| commit | 32c8dd6cf5c8bdcbd08c4f4cf1bd97c17d0167d9 (patch) | |
| tree | 96cef0bee02c900cc35085db6e8eccb496c12cd7 /src/game/client | |
| parent | 76d7569e15b2b99faa54371007196afaba5e3dbb (diff) | |
| download | zcatch-32c8dd6cf5c8bdcbd08c4f4cf1bd97c17d0167d9.tar.gz zcatch-32c8dd6cf5c8bdcbd08c4f4cf1bd97c17d0167d9.zip | |
increased time for client info resend to prevent possible overlap
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/gameclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 4b90d9b1..f9b8b671 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -449,7 +449,7 @@ void CGameClient::OnRender() m_NewPredictedTick = false; // check if client info has to be resent - if(m_LastSendInfo && Client()->State() == IClient::STATE_ONLINE && m_Snap.m_LocalClientID >= 0 && !m_pMenus->IsActive() && m_LastSendInfo+time_freq()*5 < time_get()) + if(m_LastSendInfo && Client()->State() == IClient::STATE_ONLINE && m_Snap.m_LocalClientID >= 0 && !m_pMenus->IsActive() && m_LastSendInfo+time_freq()*6 < time_get()) { // resend if client info differs if(str_comp(g_Config.m_PlayerName, m_aClients[m_Snap.m_LocalClientID].m_aName) || |