]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't show the placeholder image if the server doesn't provide a banner, show a trans... terencehill/welcome_dialog
authorterencehill <piuntn@gmail.com>
Wed, 8 Apr 2015 15:59:22 +0000 (17:59 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 8 Apr 2015 15:59:22 +0000 (17:59 +0200)
gfx/menu/luma/no_banner.tga [new file with mode: 0644]
qcsrc/menu/xonotic/dialog_welcome.qc

diff --git a/gfx/menu/luma/no_banner.tga b/gfx/menu/luma/no_banner.tga
new file mode 100644 (file)
index 0000000..be731d0
Binary files /dev/null and b/gfx/menu/luma/no_banner.tga differ
index 1f618290ee09f6a78b2012bfcacb55f3a8252c2c..e16dd06a1e7155b9ca13f852125f4edac827b004 100644 (file)
@@ -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)
 {