From: Mario Date: Sat, 22 Sep 2018 21:48:56 +0000 (+1000) Subject: If stepdown is 2, enable the old fix for stair smoothing while going down stairs X-Git-Tag: xonotic-v0.8.5~1839 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb46db33965a2052db5e997a8767ab82b744131f;p=xonotic%2Fxonotic-data.pk3dir.git If stepdown is 2, enable the old fix for stair smoothing while going down stairs --- diff --git a/qcsrc/common/physics/movetypes/walk.qc b/qcsrc/common/physics/movetypes/walk.qc index 6e4c548d6..d22b6d32a 100644 --- a/qcsrc/common/physics/movetypes/walk.qc +++ b/qcsrc/common/physics/movetypes/walk.qc @@ -170,6 +170,13 @@ void _Movetype_Physics_Walk(entity this, float dt) // SV_WalkMove { // this has been disabled so that you can't jump when you are stepping // up while already jumping (also known as the Quake2 double jump bug) + // LordHavoc: disabled this check so you can walk on monsters/players + //if (PRVM_serveredictfloat(ent, solid) == SOLID_BSP) + if(GAMEPLAYFIX_STEPDOWN(this) == 2) + { + SET_ONGROUND(this); + this.groundentity = trace_ent; + } } else {