This commit is contained in:
Dennis Felsing 2018-08-09 13:05:36 +02:00
parent dda2b06672
commit 0b539df741

View file

@ -48,8 +48,8 @@ bool IsDDNet(const CServerInfo *pInfo)
{
return str_find_nocase(pInfo->m_aGameType, "ddracenet")
|| str_find_nocase(pInfo->m_aGameType, "ddnet")
|| ((str_comp_nocase_num(pInfo->m_aGameType, "bw", 2) == 0 && str_length(pInfo->m_aGameType) > 3 && pInfo->m_aGameType[2] == ' ' && pInfo->m_aGameType[3] == ' ')
|| str_comp_nocase(pInfo->m_aGameType, "bw") == 0);
|| str_comp_nocase(pInfo->m_aGameType, "bw ") == 0
|| str_comp_nocase(pInfo->m_aGameType, "bw") == 0;
}
// other