From 9c066c64fae3409ceb6f23c804ec583b4d9b2bd5 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 26 Dec 2011 16:51:12 +0100 Subject: [PATCH] getr rid of the low-fps handling, it doesn't work anyway --- qcsrc/csqcmodellib/cl_player.qc | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index 3f31e9604..d1cfa4060 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -112,27 +112,8 @@ void CSQCPlayer_PredictTo(float endframe) { break; } - if(input_timelength <= 0.0005) // too short move - { - dprint("CSQC physics hack: too short frame skipped\n"); - // even if not running physics, handle releasing the jump key - if(!(input_buttons & 4)) - self.pmove_flags &~= PMF_JUMP_HELD; - } - else if(input_timelength > 0.05) // too long move - { - dprint("CSQC physics hack: too long frame split in two\n"); - input_timelength *= 0.5; - runstandardplayerphysics(self); - CSQCPlayer_SetMinsMaxs(); - runstandardplayerphysics(self); - CSQCPlayer_SetMinsMaxs(); - } - else - { - runstandardplayerphysics(self); - CSQCPlayer_SetMinsMaxs(); - } + runstandardplayerphysics(self); + CSQCPlayer_SetMinsMaxs(); csqcplayer_moveframe++; } -- 2.39.2