mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
FIX: parse & colorify gametype Gores correctly
This commit is contained in:
parent
00392c7ee6
commit
59db9ce54b
|
@ -483,6 +483,8 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
|||
hsl = ColorHSLA(0.00f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "fng"))
|
||||
hsl = ColorHSLA(0.83f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "gores"))
|
||||
hsl = ColorHSLA(0.525f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet"))
|
||||
hsl = ColorHSLA(0.58f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "ddrace") || str_find_nocase(pItem->m_aGameType, "mkrace"))
|
||||
|
|
Loading…
Reference in a new issue