]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Invert the cvar use
authorMario <mario@smbclan.net>
Sun, 3 Jul 2016 23:37:49 +0000 (09:37 +1000)
committerMario <mario@smbclan.net>
Sun, 3 Jul 2016 23:37:49 +0000 (09:37 +1000)
qcsrc/lib/csqcmodel/cl_player.qc

index 3b4c5fe69024ee713d9a8afa83c8c3a4d214213a..1a8ba710ae182c7984b5cec0924b2eb99216aaf8 100644 (file)
@@ -255,7 +255,7 @@ void CSQCPlayer_SetViewLocation()
 /** Called once per CSQC_UpdateView() */
 void CSQCPlayer_SetCamera()
 {
-       const vector v0 = ((intermission && autocvar_cl_movement_intermissionrunning) ? '0 0 0' : pmove_vel); // TRICK: pmove_vel is set by the engine when we get here. No need to network velocity
+       const vector v0 = ((intermission && !autocvar_cl_movement_intermissionrunning) ? '0 0 0' : pmove_vel); // TRICK: pmove_vel is set by the engine when we get here. No need to network velocity
        const float vh = STAT(VIEWHEIGHT);
        const vector pl_viewofs = STAT(PL_VIEW_OFS, NULL);
        const vector pl_viewofs_crouch = STAT(PL_CROUCH_VIEW_OFS, NULL);