From 0b539df741965b3f7b807d792f466b3a43258638 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Thu, 9 Aug 2018 13:05:36 +0200 Subject: [PATCH] bw --- src/engine/shared/serverbrowser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/shared/serverbrowser.cpp b/src/engine/shared/serverbrowser.cpp index 767c05287..4eaca022a 100644 --- a/src/engine/shared/serverbrowser.cpp +++ b/src/engine/shared/serverbrowser.cpp @@ -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