From 4a229b93a751e3daa4a1443be5330fba6fdccfd2 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 8 Apr 2015 17:59:22 +0200 Subject: [PATCH] Don't show the placeholder image if the server doesn't provide a banner, show a transparent image instead --- gfx/menu/luma/no_banner.tga | Bin 0 -> 49 bytes qcsrc/menu/xonotic/dialog_welcome.qc | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 gfx/menu/luma/no_banner.tga diff --git a/gfx/menu/luma/no_banner.tga b/gfx/menu/luma/no_banner.tga new file mode 100644 index 0000000000000000000000000000000000000000..be731d043c6d5aba6d88072d0a04743136c29001 GIT binary patch literal 49 ocmZQz;9`IQMg~R(1r8VwOos%8x`ufMd;0t7M!0$Uxau(g06L@vAOHXW literal 0 HcmV?d00001 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) { -- 2.39.2