From d19ee69546ce77acd4a3c1f4a11f9ad79a111e80 Mon Sep 17 00:00:00 2001 From: mercury Date: Wed, 29 May 2002 11:28:09 +0000 Subject: [PATCH 1/1] I have commit access to DP? When did that happen? Fix the flying backpacks, just moving two lines, one of which is a comment. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1877 d7cf8633-e32d-0410-b094-e92efae38249 --- collision.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collision.c b/collision.c index 111eb6d3..2511205e 100644 --- a/collision.c +++ b/collision.c @@ -401,12 +401,12 @@ void Collision_ClipTrace (trace_t *trace, const void *cent, const model_t *cmode rhc.trace->plane.normal[1] = DotProduct (tempd, left); rhc.trace->plane.normal[2] = DotProduct (tempd, up); } - // fix offset - VectorAdd (rhc.trace->endpos, offset, rhc.trace->endpos); rhc.trace->ent = (void *) cent; } else if (rhc.trace->allsolid || rhc.trace->startsolid) rhc.trace->ent = (void *) cent; + // fix offset + VectorAdd (rhc.trace->endpos, offset, rhc.trace->endpos); } else { -- 2.39.2