mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge #6496
6496: Highlight 0XF game type r=def- a=0xfaulty Highlight 0XF game type ## Checklist - [x] Tested the change ingame - [ ] Provided screenshots if it is a visual change - [ ] Tested in combination with possibly related configuration options - [ ] Written a unit test (especially base/) or added coverage to integration test - [ ] Considered possible null pointers and out of bounds array indexing - [ ] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: Valentin Bashkirov <valenteen3d@ya.ru>
This commit is contained in:
commit
bf443dd5a3
|
@ -409,7 +409,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
|||
hsl = ColorHSLA(0.525f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "BW"))
|
||||
hsl = ColorHSLA(0.050f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet"))
|
||||
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet") || str_find_nocase(pItem->m_aGameType, "0xf"))
|
||||
hsl = ColorHSLA(0.58f, 1.0f, 0.75f);
|
||||
else if(str_find_nocase(pItem->m_aGameType, "ddrace") || str_find_nocase(pItem->m_aGameType, "mkrace"))
|
||||
hsl = ColorHSLA(0.75f, 1.0f, 0.75f);
|
||||
|
|
Loading…
Reference in a new issue