From: terencehill Date: Wed, 8 Apr 2015 15:59:22 +0000 (+0200) Subject: Don't show the placeholder image if the server doesn't provide a banner, show a trans... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4a229b93a751e3daa4a1443be5330fba6fdccfd2;p=xonotic%2Fxonotic-data.pk3dir.git Don't show the placeholder image if the server doesn't provide a banner, show a transparent image instead --- diff --git a/gfx/menu/luma/no_banner.tga b/gfx/menu/luma/no_banner.tga new file mode 100644 index 000000000..be731d043 Binary files /dev/null and b/gfx/menu/luma/no_banner.tga differ diff --git a/qcsrc/menu/xonotic/dialog_welcome.qc b/qcsrc/menu/xonotic/dialog_welcome.qc index 1f618290e..e16dd06a1 100644 --- a/qcsrc/menu/xonotic/dialog_welcome.qc +++ b/qcsrc/menu/xonotic/dialog_welcome.qc @@ -38,7 +38,7 @@ void welcomeDialog_resetStrings(entity me) if(me.serverinfo_pic) strunzone(me.serverinfo_pic); - me.serverinfo_pic = strzone("nopic"); + me.serverinfo_pic = strzone("no_banner"); } void XonoticWelcomeDialog_configureDialog(entity me) {