From a17c69881645a03c71e43a70b8844ce853c6e825 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 19 Feb 2012 14:45:34 +0100 Subject: [PATCH] kill the Weird code path --- qcsrc/csqcmodellib/cl_player.qc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index 2ececc6e17..4aa8fdf92c 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -135,8 +135,9 @@ void CSQCPlayer_PredictTo(float endframe, float apply_error) csqcplayer_status = CSQCPLAYERSTATUS_PREDICTED; - // FIXME do we really NEED this? dead players have servercommandframe - // == 0 and thus won't predict +#if 0 + // we don't need this + // darkplaces makes servercommandframe == 0 in these cases anyway if (getstatf(STAT_HEALTH) <= 0) { csqcplayer_moveframe = clientcommandframe; @@ -144,6 +145,7 @@ void CSQCPlayer_PredictTo(float endframe, float apply_error) print("the Weird code path got hit\n"); return; } +#endif if(csqcplayer_moveframe >= endframe) { -- 2.39.2