]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_demo.c
Too many fixes to mention. (sys_ticrate now controls packet rates, and other stuff)
[xonotic/darkplaces.git] / cl_demo.c
index aaca270442332edf6bc04cfaecbada62f42e039c..13fbed5b0ad43a0fcec26737b500c0da129bc92d 100644 (file)
--- a/cl_demo.c
+++ b/cl_demo.c
@@ -130,7 +130,7 @@ int CL_GetMessage (void)
                
                net_message.cursize = LittleLong (net_message.cursize);
                if (net_message.cursize > MAX_MSGLEN)
-                       Sys_Error ("Demo message > MAX_MSGLEN");
+                       Host_Error ("Demo message > MAX_MSGLEN");
                r = fread (net_message.data, net_message.cursize, 1, cls.demofile);
                if (r != 1)
                {