From: Rudolf Polzer Date: Mon, 9 Jan 2012 15:07:57 +0000 (+0100) Subject: remove the hack again, fixed the engine X-Git-Tag: xonotic-v0.6.0~188^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=35ec955eb2193b7b96c8236903f8f81f198a6b83;p=xonotic%2Fxonotic-data.pk3dir.git remove the hack again, fixed the engine --- diff --git a/qcsrc/csqcmodellib/cl_player.qc b/qcsrc/csqcmodellib/cl_player.qc index 62cfddccf..dc9627d9e 100644 --- a/qcsrc/csqcmodellib/cl_player.qc +++ b/qcsrc/csqcmodellib/cl_player.qc @@ -105,6 +105,7 @@ void CSQCPlayer_PredictTo(float endframe) { csqcplayer_moveframe = clientcommandframe; getinputstate(csqcplayer_moveframe-1); + print("the Weird code path got hit\n"); return; } @@ -257,15 +258,7 @@ void CSQCPlayer_SetCamera() if(intermission) refdefflags |= REFDEFFLAG_INTERMISSION; - // FIXME this is a stupid hack and is only there because - // bobfall got unreliable otherwise (it restores the old - // behaviour); need to find out why - vector vsave = view.velocity; - view.velocity = v0; - V_CalcRefdef(view, refdefflags); - - view.velocity = vsave; } else {