]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove sv_pogostick cvar, this is now controlled clientside
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 12 Sep 2011 09:34:35 +0000 (11:34 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 12 Sep 2011 09:34:35 +0000 (11:34 +0200)
defaultXonotic.cfg
qcsrc/server/cl_physics.qc
qcsrc/server/defs.qh
qcsrc/server/miscfunctions.qc

index 24f3921df4de50cc19ed7a5a88dfc9320883b8dd..2996d475adac3e1c2e25ad5183ece23ee90c1de4 100644 (file)
@@ -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)"
index 5e5db8656b393bf66bccfb3da2a496ae09274a5c..b7e8bc22648b631647bf33898c4be713dc3d46f9 100644 (file)
@@ -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;
 
index abef67463fc27ef2703f1e95c50e3899e6feb38f..7dd3a5aed03e8f478d52940a17c0ee8f18f62634 100644 (file)
@@ -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;
index d1ead11cbf1f79751c49e1f3bbfad4221e978568..9a848fa46ebbe7eda5bc4b49735165f1e8573f84 100644 (file)
@@ -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");