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 cl_nopogostick 0 "when set on a client, server's setting of sv_pogostick is ignored (hint: when enabled, try both cl_movement_track_canjump modes)"
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)"
if (!(self.flags & FL_ONGROUND))
return;
- if(!sv_pogostick)
+ if(!sv_pogostick || self.cvar_cl_nopogostick)
if (!(self.flags & FL_JUMPRELEASED))
return;
.float cvar_cl_handicap;
.float cvar_cl_playerdetailreduction;
.float cvar_cl_clippedspectating;
+.float cvar_cl_nopogostick;
.string cvar_g_xonoticversion;
.string cvar_cl_weaponpriority;
GetCvars_handleFloatOnce(s, f, cvar_cl_gunalign, "cl_gunalign");
GetCvars_handleFloat(s, f, cvar_cl_allow_uid2name, "cl_allow_uid2name");
GetCvars_handleFloat(s, f, cvar_cl_allow_uidtracking, "cl_allow_uidtracking");
+ GetCvars_handleFloat(s, f, cvar_cl_nopogostick, "cl_nopogostick");
// fixup of switchweapon (needed for LMS or when spectating is disabled, as PutClientInServer comes too early)
if (f > 0)