From fa8c2da3b1ce02a796fafd6fc91f7a7f50d1fb5e Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 26 Feb 2010 12:03:37 +0000 Subject: [PATCH] undo an edit in r9537 that caused it to be possible to walk through a narrow gap in toxic in Nexuiz near the rocket launcher git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10009 d7cf8633-e32d-0410-b094-e92efae38249 --- collision.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/collision.c b/collision.c index 56666afd..b2d26e4c 100644 --- a/collision.c +++ b/collision.c @@ -725,10 +725,6 @@ void Collision_TraceBrushBrushFloat(trace_t *trace, const colbrushf_t *trace_sta VectorCopy(startplane, startdepthnormal); } - if (startdist >= -collision_impactnudge.value && enddist >= startdist) - return; - if (startdist <= 0 && enddist <= 0) - continue; if (startdist > enddist) { // moving into brush @@ -901,10 +897,6 @@ void Collision_TraceLineBrushFloat(trace_t *trace, const vec3_t linestart, const VectorCopy(startplane, startdepthnormal); } - if (startdist >= -collision_impactnudge.value && enddist >= startdist) - return; - if (startdist <= 0 && enddist <= 0) - continue; if (startdist > enddist) { // moving into brush -- 2.39.2