From 35ec955eb2193b7b96c8236903f8f81f198a6b83 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 9 Jan 2012 16:07:57 +0100 Subject: [PATCH] remove the hack again, fixed the engine --- qcsrc/csqcmodellib/cl_player.qc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 { -- 2.39.2