]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix last commit...
authorterencehill <piuntn@gmail.com>
Sun, 22 Mar 2015 20:27:45 +0000 (21:27 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 22 Mar 2015 20:27:45 +0000 (21:27 +0100)
qcsrc/server/cl_client.qc

index 133d2a66908c8ed353605153c32926ae9f2ac165..96717c1bd7a4536e5da57d2645b3a18e4c642066 100644 (file)
@@ -775,7 +775,7 @@ void serverinfo_welcomemessage_send()
        WriteString(MSG_ONE, autocvar_hostname);
        WriteString(MSG_ONE, getwelcomemessage());
        string pic = strcat("128.03.192.999", "/banner");
-       if(ImageExists(pic))
+       if(!ImageExists(pic))
        {
                print("Warning: image %s doesn't exist!\n", pic);
                pic = "";
@@ -786,7 +786,7 @@ void serverinfo_welcomemessage_send()
 void serverinfo_pic_send()
 {
        string pic = strcat("128.03.192.999", "/banner");
-       if(ImageExists(pic))
+       if(!ImageExists(pic))
        {
                print("Cannot send %s, file doesn't exist!\n", pic);
                return;