From: havoc Date: Fri, 10 Mar 2006 05:18:39 +0000 (+0000) Subject: fixed bug that allowed the quake2 stair jump to work X-Git-Tag: xonotic-v0.1.0preview~4229 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=558085e548fe34e53534131772f16057deb6d4db;p=xonotic%2Fdarkplaces.git fixed bug that allowed the quake2 stair jump to work git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6087 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_phys.c b/sv_phys.c index 4e17bc92..f58108b4 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -1124,6 +1124,9 @@ void SV_WalkMove (prvm_edict_t *ent) if (downtrace.fraction < 1 && downtrace.plane.normal[2] > 0.7) { + // this has been disabled so that you can't jump when you are stepping + // up while already jumping (also known as the Quake2 stair jump bug) +#if 0 // LordHavoc: disabled this check so you can walk on monsters/players //if (ent->fields.server->solid == SOLID_BSP) { @@ -1131,6 +1134,7 @@ void SV_WalkMove (prvm_edict_t *ent) ent->fields.server->flags = (int)ent->fields.server->flags | FL_ONGROUND; ent->fields.server->groundentity = PRVM_EDICT_TO_PROG(downtrace.ent); } +#endif } else {