From cb46db33965a2052db5e997a8767ab82b744131f Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 23 Sep 2018 07:48:56 +1000 Subject: [PATCH] If stepdown is 2, enable the old fix for stair smoothing while going down stairs --- qcsrc/common/physics/movetypes/walk.qc | 7 +++++++ 1 file changed, 7 insertions(+) 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 { -- 2.39.5