fix bug with players not moving during the input timeout after prediction is intentio...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2007 05:09:59 +0000 (05:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 5 Apr 2007 05:09:59 +0000 (05:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7048 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index eda1dbc..b57ccba 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -643,6 +643,8 @@ void SV_ExecuteClientMoves(void)
                // now copy the new move
                host_client->cmd = sv_readmoves[sv_numreadmoves-1];
                host_client->movesequence = 0;
+               // make sure that normal physics takes over immediately
+               host_client->clmovement_skipphysicsframes = 0;
        }
 
        // calculate average ping time