]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - csprogs.c
corrected some svc_nop's to clc_nop's (same value but more correct)
[xonotic/darkplaces.git] / csprogs.c
index d212385312d6c03dacb5d3e7bcfa7b287b6ef12b..1243120623aae26ab08433bc38a288a1c311b20b 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -486,7 +486,7 @@ void CL_VM_Init (void)
 {
        unsigned char *csprogsdata;
        fs_offset_t csprogsdatasize;
-       unsigned int csprogsdatacrc, requiredcrc;
+       int csprogsdatacrc, requiredcrc;
        entity_t *ent;
 
        // reset csqc_progcrc after reading it, so that changing servers doesn't
@@ -512,11 +512,16 @@ void CL_VM_Init (void)
                if (csprogsdatacrc != requiredcrc)
                {
                        if (cls.demoplayback)
-                               Con_Printf("^1Your %s is not the same version as the demo was recorded with (CRC is %i but should be %i)\n", csqc_progname.string, csprogsdatacrc, requiredcrc);
+                       {
+                               Con_Printf("^1Warning: Your %s is not the same version as the demo was recorded with (CRC is %i but should be %i)\n", csqc_progname.string, csprogsdatacrc, requiredcrc);
+                               return;
+                       }
                        else
+                       {
                                Con_Printf("^1Your %s is not the same version as the server (CRC is %i but should be %i)\n", csqc_progname.string, csprogsdatacrc, requiredcrc);
-                       CL_Disconnect();
-                       return;
+                               CL_Disconnect();
+                               return;
+                       }
                }
        }
        else