mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix blockZ and infectionZ
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
This commit is contained in:
parent
102ddc4d49
commit
5c280a3c9d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue