From 39bd84c0938ff847775cf8890d55402218446a7f Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 23 Dec 2007 11:05:54 +0000 Subject: [PATCH] update movement_velocity in demos too git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7844 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_input.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2