diff --git a/src/engine/shared/serverbrowser.cpp b/src/engine/shared/serverbrowser.cpp index 77ddee5f6..bdf94ba83 100644 --- a/src/engine/shared/serverbrowser.cpp +++ b/src/engine/shared/serverbrowser.cpp @@ -48,8 +48,8 @@ bool IsDDRace(const CServerInfo *pInfo) bool IsBlockInfectionZ(const CServerInfo *pInfo) { - return str_find_nocase(pInfo->m_aGameType, "blockz") - || str_find_nocase(pInfo->m_aGameType, "infectionz"); + return str_find_nocase(pInfo->m_aGameType, "blockz") || + str_find_nocase(pInfo->m_aGameType, "infectionz"); } bool IsBlockWorlds(const CServerInfo *pInfo) diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 7da3a494d..29f45bf21 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -1038,15 +1038,15 @@ static CGameInfo GetGameInfo(const CNetObj_GameInfoEx *pInfoEx, int InfoExSize, } else { - Race = Flags&GAMEINFOFLAG_GAMETYPE_RACE; - FastCap = Flags&GAMEINFOFLAG_GAMETYPE_FASTCAP; - FNG = Flags&GAMEINFOFLAG_GAMETYPE_FNG; - DDRace = Flags&GAMEINFOFLAG_GAMETYPE_DDRACE; - DDNet = Flags&GAMEINFOFLAG_GAMETYPE_DDNET; - BlockWorlds = Flags&GAMEINFOFLAG_GAMETYPE_BLOCK_WORLDS; - Vanilla = Flags&GAMEINFOFLAG_GAMETYPE_VANILLA; - Plus = Flags&GAMEINFOFLAG_GAMETYPE_PLUS; - City = Flags2&GAMEINFOFLAG2_GAMETYPE_CITY; + Race = Flags & GAMEINFOFLAG_GAMETYPE_RACE; + FastCap = Flags & GAMEINFOFLAG_GAMETYPE_FASTCAP; + FNG = Flags & GAMEINFOFLAG_GAMETYPE_FNG; + DDRace = Flags & GAMEINFOFLAG_GAMETYPE_DDRACE; + DDNet = Flags & GAMEINFOFLAG_GAMETYPE_DDNET; + BlockWorlds = Flags & GAMEINFOFLAG_GAMETYPE_BLOCK_WORLDS; + Vanilla = Flags & GAMEINFOFLAG_GAMETYPE_VANILLA; + Plus = Flags & GAMEINFOFLAG_GAMETYPE_PLUS; + City = Flags2 & GAMEINFOFLAG2_GAMETYPE_CITY; // Ensure invariants upheld by the server info parsing business. DDRace = DDRace || DDNet;