X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_input.c;h=a43a9d9a3d4d0f15f0cba835617aea6d62af1c6c;hp=a4a7e4d2aaf4802e6ddabdc436772bfb84946f83;hb=c98b091c10dc46797648b3ade88ec24076eb092c;hpb=590a07608279a8a21604a83620d77abe9c731796 diff --git a/cl_input.c b/cl_input.c index a4a7e4d2..a43a9d9a 100644 --- a/cl_input.c +++ b/cl_input.c @@ -351,7 +351,7 @@ void CL_SendMove (usercmd_t *cmd) upmove += cmd->upmove; total++; // LordHavoc: cap outgoing movement messages to sys_ticrate - if (cl.maxclients > 1 && 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 //