git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12068
d7cf8633-e32d-0410-b094-
e92efae38249
if (PRVM_serveredictfloat(ent, movetype) != MOVETYPE_WALK)
return;
if (PRVM_serveredictfloat(ent, movetype) != MOVETYPE_WALK)
return;
- // only step up while jumping if that is enabled
- if (sv_jumpstep.integer)
+ // return if attempting to jump while airborn (unless sv_jumpstep)
+ if (!sv_jumpstep.integer)
if (!oldonground && PRVM_serveredictfloat(ent, waterlevel) == 0)
return;
}
if (!oldonground && PRVM_serveredictfloat(ent, waterlevel) == 0)
return;
}