mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
fixed the unpure icon
This commit is contained in:
parent
7c0413ebac
commit
5f296f3963
|
@ -229,7 +229,14 @@ void MENUS::render_serverbrowser_serverlist(RECT view)
|
||||||
else if(id == COL_FLAG_PURE)
|
else if(id == COL_FLAG_PURE)
|
||||||
{
|
{
|
||||||
if(strncmp(item->gametype, "DM", 2) == 0 || strncmp(item->gametype, "TDM", 3) == 0 || strncmp(item->gametype, "CTF", 3) == 0)
|
if(strncmp(item->gametype, "DM", 2) == 0 || strncmp(item->gametype, "TDM", 3) == 0 || strncmp(item->gametype, "CTF", 3) == 0)
|
||||||
ui_draw_browse_icon(SPRITE_BROWSE_PURE, &button);
|
{
|
||||||
|
// pure server
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// unpure
|
||||||
|
ui_draw_browse_icon(SPRITE_BROWSE_UNPURE, &button);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(id == COL_FLAG_FAV)
|
else if(id == COL_FLAG_FAV)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue