]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix very stupid typo in input merging when cl_movement is 0
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Feb 2007 05:38:08 +0000 (05:38 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Feb 2007 05:38:08 +0000 (05:38 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6798 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index de1412c62e45f5094396ed37d048f3ebd3582343..3611cb596d0e1c985572860bc87a0c12b0074d51 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -533,7 +533,7 @@ qboolean SV_ReadClientMove (void)
        {
                if (!move->impulse)
                        move->impulse = host_client->cmd.impulse;
-               move->buttons |= host_client->cmd.impulse;
+               move->buttons |= host_client->cmd.buttons;
        }
 
        moveframetime = bound(0, move->time - host_client->cmd.time, 0.1);