From: Rudolf Polzer Date: Mon, 26 Dec 2011 15:51:12 +0000 (+0100) Subject: getr rid of the low-fps handling, it doesn't work anyway X-Git-Tag: xonotic-v0.6.0~74^2~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9c066c64fae3409ceb6f23c804ec583b4d9b2bd5;p=xonotic%2Fxonotic-data.pk3dir.git getr rid of the low-fps handling, it doesn't work anyway --- 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++; }