From: divverent Date: Sun, 23 Dec 2007 11:05:54 +0000 (+0000) Subject: update movement_velocity in demos too X-Git-Tag: xonotic-v0.1.0preview~2647 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=39bd84c0938ff847775cf8890d55402218446a7f;p=xonotic%2Fdarkplaces.git update movement_velocity in demos too git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7844 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_input.c b/cl_input.c index f6e6165a..a1886936 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1269,6 +1269,8 @@ void CL_ClientMovement_Replay(void) VectorCopy(s.origin, cl.movement_origin); VectorCopy(s.velocity, cl.movement_velocity); } + else if(cls.demoplayback) // for bob, speedometer + VectorCopy(cl.mvelocity[0], cl.movement_velocity); // update the onground flag if appropriate if (cl.movement_predicted)