From: havoc Date: Wed, 6 Dec 2006 08:07:40 +0000 (+0000) Subject: fixed a bug with cl_movement prediction being applied during demo playback X-Git-Tag: xonotic-v0.1.0preview~3765 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=56632456067c39dc94e11eaafb915884d030489a;p=xonotic%2Fdarkplaces.git 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 --- 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]);