]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
fixed a Sys_Error in the client when connected to QUAKE protocol servers (it was...
[xonotic/darkplaces.git] / cl_input.c
index 386552cef906b84a2862c01fa9d6796999a0d481..5f92b54c7a8248faffe16eee3ed9683982febcd8 100644 (file)
@@ -568,6 +568,9 @@ void CL_SendMove(void)
        // deliver the message
        if (cls.demoplayback)
                return;
+       // nothing to send
+       if (!buf.cursize)
+               return;
 
        if (NetConn_SendUnreliableMessage(cls.netcon, &buf) == -1)
        {