]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't show icon for aeslevel 0
authorRudolf Polzer <divverent@alientrap.org>
Sun, 25 Dec 2011 12:52:39 +0000 (13:52 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 25 Dec 2011 12:52:39 +0000 (13:52 +0100)
gfx/menu/luminos/icon_aeslevel0.tga [deleted file]
gfx/menu/wickedx/icon_aeslevel0.tga [deleted file]
gfx/menu/xaw/icon_aeslevel0.tga [deleted file]
qcsrc/menu/xonotic/serverlist.c

diff --git a/gfx/menu/luminos/icon_aeslevel0.tga b/gfx/menu/luminos/icon_aeslevel0.tga
deleted file mode 100644 (file)
index 5c9e66a..0000000
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 (file)
index 5c9e66a..0000000
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 (file)
index 5c9e66a..0000000
Binary files a/gfx/menu/xaw/icon_aeslevel0.tga and /dev/null differ
index d9c0979ebfe0d019f78f6e85c4a3a876bef64ecd..b7757f2996ce7b0149d0e62438cb3313ced39fab 100644 (file)
@@ -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)