]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_physics.qc
cvar cl_nopogostick (allows a client to turn off sv_pogostick for itself)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_physics.qc
index 1012734302a67f372e1979a78e2bdacbc7498526..b10c88d49d305fb17e2c0bbd788e6402443cc1b8 100644 (file)
@@ -104,7 +104,7 @@ void PlayerJump (void)
                if (!(self.flags & FL_ONGROUND))
                        return;
 
-       if(!sv_pogostick)
+       if(!sv_pogostick || self.cvar_cl_nopogostick)
                if (!(self.flags & FL_JUMPRELEASED))
                        return;