1851: Fix blockZ and infectionZ r=def- a=fokkonaut

I talked to coffee (creator of both mods) and he said it is okay to use zoom on the mods, also: eye emotes work there so the eye wheel is also supported. I have updated both mods to ddnet master so they have all the new stuff

Co-authored-by: fokkonaut <35420825+fokkonaut@users.noreply.github.com>
This commit is contained in:
bors[bot] 2019-07-24 06:16:05 +00:00
commit 898e6ca958

View file

@ -49,7 +49,7 @@ bool IsDDRace(const CServerInfo *pInfo)
bool IsBlockInfectionZ(const CServerInfo *pInfo)
{
return str_find_nocase(pInfo->m_aGameType, "blockZ")
|| str_find_nocase(pInfo->m_aGameType, "infection");
|| str_find_nocase(pInfo->m_aGameType, "infectionZ");
}
bool IsBlockWorlds(const CServerInfo *pInfo)
@ -60,9 +60,9 @@ bool IsBlockWorlds(const CServerInfo *pInfo)
bool IsDDNet(const CServerInfo *pInfo)
{
return (str_find_nocase(pInfo->m_aGameType, "ddracenet")
|| str_find_nocase(pInfo->m_aGameType, "ddnet"))
&& !IsBlockInfectionZ(pInfo);
return str_find_nocase(pInfo->m_aGameType, "ddracenet")
|| str_find_nocase(pInfo->m_aGameType, "ddnet")
|| IsBlockInfectionZ(pInfo);
}
// other