]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed a Sys_Error in the client when connected to QUAKE protocol servers (it was...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Dec 2004 18:57:41 +0000 (18:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Dec 2004 18:57:41 +0000 (18:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4824 d7cf8633-e32d-0410-b094-e92efae38249

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)
        {