]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
-CL_Video now allows multiple streams again. It is registered as a r_module
[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)
        {