]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove the hack again, fixed the engine
authorRudolf Polzer <divverent@alientrap.org>
Mon, 9 Jan 2012 15:07:57 +0000 (16:07 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 9 Jan 2012 15:07:57 +0000 (16:07 +0100)
qcsrc/csqcmodellib/cl_player.qc

index 62cfddccf8758f593e553ff43e8fce49b6937589..dc9627d9e8173fcc86a9c3a45408d71e101f0b6d 100644 (file)
@@ -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
        {