From 56632456067c39dc94e11eaafb915884d030489a Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 6 Dec 2006 08:07:40 +0000 Subject: [PATCH] fixed a bug with cl_movement prediction being applied during demo playback git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6634 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_input.c b/cl_input.c index a2a0106e..9ac1fa0c 100644 --- a/cl_input.c +++ b/cl_input.c @@ -1145,7 +1145,7 @@ void CL_ClientMovement_Replay(void) s.movevars_airaccel_sideways_friction = cl_movement_airaccel_sideways_friction.value; } - cl.movement_predicted = (cl_movement.integer && cls.signon == SIGNONS && cl.stats[STAT_HEALTH] > 0 && !cl.intermission) && ((cls.protocol != PROTOCOL_DARKPLACES6 && cls.protocol != PROTOCOL_DARKPLACES7) || cl.servermovesequence); + cl.movement_predicted = (cl_movement.integer && !cls.demoplayback && cls.signon == SIGNONS && cl.stats[STAT_HEALTH] > 0 && !cl.intermission) && ((cls.protocol != PROTOCOL_DARKPLACES6 && cls.protocol != PROTOCOL_DARKPLACES7) || cl.servermovesequence); if (cl.movement_predicted) { //Con_Printf("%f: ", cl.mtime[0]); -- 2.39.2