From: Rudolf Polzer Date: Mon, 12 Sep 2011 09:34:35 +0000 (+0200) Subject: remove sv_pogostick cvar, this is now controlled clientside X-Git-Tag: xonotic-v0.6.0~40^2~141^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6b33ff36e2a85c61d18cf0acb4bfd15c1eb7e5a8;p=xonotic%2Fxonotic-data.pk3dir.git remove sv_pogostick cvar, this is now controlled clientside --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 24f3921df..2996d475a 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -381,7 +381,6 @@ set sv_player_crouch_viewoffset "0 0 20" "view offset of the player model when c set sv_player_crouch_mins "-16 -16 -24" "mins of a crouched playermodel" set sv_player_crouch_maxs "16 16 25" "maxs of a crouched playermodel" -set sv_pogostick 1 "don't require releasing the space bar for jumping again" set sv_doublejump 0 "allow Quake 2-style double jumps" set sv_jumpspeedcap_min "" "lower bound on the baseline velocity of a jump; final velocity will be >= (jumpheight * min + jumpheight)" set sv_jumpspeedcap_max "" "upper bound on the baseline velocity of a jump; final velocity will be <= (jumpheight * max + jumpheight)" diff --git a/qcsrc/server/cl_physics.qc b/qcsrc/server/cl_physics.qc index 5e5db8656..b7e8bc226 100644 --- a/qcsrc/server/cl_physics.qc +++ b/qcsrc/server/cl_physics.qc @@ -112,7 +112,7 @@ void PlayerJump (void) if (!(self.flags & FL_ONGROUND)) return; - if(!sv_pogostick || self.cvar_cl_movement_track_canjump) + if(self.cvar_cl_movement_track_canjump) if (!(self.flags & FL_JUMPRELEASED)) return; diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index abef67463..7dd3a5aed 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -411,7 +411,6 @@ float lockteams; float sv_maxidle; float sv_maxidle_spectatorsareidle; -float sv_pogostick; float tracebox_hits_trigger_hurt(vector start, vector mi, vector ma, vector end); float next_pingtime; diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index d1ead11cb..9a848fa46 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1180,7 +1180,6 @@ void readlevelcvars(void) g_bloodloss = cvar("g_bloodloss"); sv_maxidle = cvar("sv_maxidle"); sv_maxidle_spectatorsareidle = cvar("sv_maxidle_spectatorsareidle"); - sv_pogostick = cvar("sv_pogostick"); g_ctf_reverse = cvar("g_ctf_reverse"); sv_autotaunt = cvar("sv_autotaunt"); sv_taunt = cvar("sv_taunt");