]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
misc. cleanup, bubble trails fixed, improved lightmap compatibility.
[xonotic/darkplaces.git] / cl_input.c
index 305bc226f331b0ae545c046bc89026ab28d2eaa9..a43a9d9a3d4d0f15f0cba835617aea6d62af1c6c 100644 (file)
@@ -351,7 +351,7 @@ void CL_SendMove (usercmd_t *cmd)
        upmove += cmd->upmove;
        total++;
        // LordHavoc: cap outgoing movement messages to sys_ticrate
-       if (realtime - lastmovetime < sys_ticrate.value)
+       if ((cl.maxclients > 1) && (realtime - lastmovetime < sys_ticrate.value))
                return;
        lastmovetime = realtime;
        // average what has happened during this time
@@ -381,6 +381,7 @@ void CL_SendMove (usercmd_t *cmd)
     MSG_WriteShort (&buf, sidemove);
     MSG_WriteShort (&buf, upmove);
 
+       forwardmove = sidemove = upmove = 0;
 //
 // send button bits
 //