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:
bors[bot] 2023-04-05 20:01:51 +00:00 committed by GitHub
commit bf443dd5a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);