Increase magic number a bit until we assume client is not DDNet

This commit is contained in:
def 2015-08-07 03:26:50 +02:00
parent 979294e3f4
commit 727ea434d4

View file

@ -375,7 +375,7 @@ void CPlayer::OnPredictedInput(CNetObj_PlayerInput *NewInput)
m_pCharacter->OnPredictedInput(NewInput);
// Magic number when we can hope that client has successfully identified itself
if(m_NumInputs == 10)
if(m_NumInputs == 20)
{
if(g_Config.m_SvClientSuggestion[0] != '\0' && m_ClientVersion <= VERSION_DDNET_OLD)
GameServer()->SendBroadcast(g_Config.m_SvClientSuggestion, m_ClientID);