From 991848b2a9c00e6e0a0fd12d78ed8eeddbe88a45 Mon Sep 17 00:00:00 2001
From: Rudolf Polzer <divverent@alientrap.org>
Date: Sun, 25 Dec 2011 13:52:39 +0100
Subject: [PATCH] don't show icon for aeslevel 0

---
 gfx/menu/luminos/icon_aeslevel0.tga | Bin 204 -> 0 bytes
 gfx/menu/wickedx/icon_aeslevel0.tga | Bin 204 -> 0 bytes
 gfx/menu/xaw/icon_aeslevel0.tga     | Bin 204 -> 0 bytes
 qcsrc/menu/xonotic/serverlist.c     |   3 ++-
 4 files changed, 2 insertions(+), 1 deletion(-)
 delete mode 100644 gfx/menu/luminos/icon_aeslevel0.tga
 delete mode 100644 gfx/menu/wickedx/icon_aeslevel0.tga
 delete mode 100644 gfx/menu/xaw/icon_aeslevel0.tga

diff --git a/gfx/menu/luminos/icon_aeslevel0.tga b/gfx/menu/luminos/icon_aeslevel0.tga
deleted file mode 100644
index 5c9e66ac67365efd20214940b9607defc03acc51..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 204
tcmZQz;9`IQ1qLAGn1ANX8HPbjz+4*=6zUr08SLrrryJqs>Eo)$007GcWxfCa

diff --git a/gfx/menu/wickedx/icon_aeslevel0.tga b/gfx/menu/wickedx/icon_aeslevel0.tga
deleted file mode 100644
index 5c9e66ac67365efd20214940b9607defc03acc51..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 204
tcmZQz;9`IQ1qLAGn1ANX8HPbjz+4*=6zUr08SLrrryJqs>Eo)$007GcWxfCa

diff --git a/gfx/menu/xaw/icon_aeslevel0.tga b/gfx/menu/xaw/icon_aeslevel0.tga
deleted file mode 100644
index 5c9e66ac67365efd20214940b9607defc03acc51..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 204
tcmZQz;9`IQ1qLAGn1ANX8HPbjz+4*=6zUr08SLrrryJqs>Eo)$007GcWxfCa

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)
-- 
2.39.5