From: Rudolf Polzer Date: Sun, 25 Dec 2011 12:52:39 +0000 (+0100) Subject: don't show icon for aeslevel 0 X-Git-Tag: xonotic-v0.6.0~74^2~52 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=991848b2a9c00e6e0a0fd12d78ed8eeddbe88a45;p=xonotic%2Fxonotic-data.pk3dir.git don't show icon for aeslevel 0 --- diff --git a/gfx/menu/luminos/icon_aeslevel0.tga b/gfx/menu/luminos/icon_aeslevel0.tga deleted file mode 100644 index 5c9e66ac6..000000000 Binary files a/gfx/menu/luminos/icon_aeslevel0.tga and /dev/null differ diff --git a/gfx/menu/wickedx/icon_aeslevel0.tga b/gfx/menu/wickedx/icon_aeslevel0.tga deleted file mode 100644 index 5c9e66ac6..000000000 Binary files a/gfx/menu/wickedx/icon_aeslevel0.tga and /dev/null differ diff --git a/gfx/menu/xaw/icon_aeslevel0.tga b/gfx/menu/xaw/icon_aeslevel0.tga deleted file mode 100644 index 5c9e66ac6..000000000 Binary files a/gfx/menu/xaw/icon_aeslevel0.tga and /dev/null differ diff --git a/qcsrc/menu/xonotic/serverlist.c b/qcsrc/menu/xonotic/serverlist.c index d9c0979eb..b7757f299 100644 --- a/qcsrc/menu/xonotic/serverlist.c +++ b/qcsrc/menu/xonotic/serverlist.c @@ -727,7 +727,8 @@ void XonoticServerList_drawListBoxItem(entity me, float i, vector absSize, float iconPos_x += iconSize_x; } - draw_Picture(iconPos, strcat(SKINGFX_SERVERLIST_ICON, "_aeslevel", ftos(q)), iconSize, '1 1 1', 1); + if(q > 0) + draw_Picture(iconPos, strcat(SKINGFX_SERVERLIST_ICON, "_aeslevel", ftos(q)), iconSize, '1 1 1', 1); iconPos_x += iconSize_x; if(pure == 0)