fixed the unpure icon

This commit is contained in:
Magnus Auvinen 2009-01-11 13:31:36 +00:00
parent 7c0413ebac
commit 5f296f3963

View file

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