From c8538e9236b0b626762f09e4a75247fbd3418c43 Mon Sep 17 00:00:00 2001 From: cholleme <> Date: Wed, 25 Jun 2003 09:13:44 +0000 Subject: [PATCH] q3 bsp bug fixed --- world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world.c b/world.c index 3ba4d78..d126ea8 100644 --- a/world.c +++ b/world.c @@ -851,7 +851,7 @@ trace_t SV_ClipMoveToEntity (edict_t *ent, vec3_t start, vec3_t mins, vec3_t max // trace a line through the apropriate brushes //SV_RecursiveHullCheck (hull, hull->firstclipnode, 0, 1, start_l, end_l, &trace); - CM_TraceToBrushModel (sv.worldmodel, firstbrush, numbrushes, mins, maxs, start_l, end_l, &trace, CONTENTS_SOLID); + CM_TraceToBrushModel (sv.worldmodel, firstbrush, numbrushes, mins, maxs, start_l, end_l, &trace, CONTENTS_SOLID | CONTENTS_PLAYERCLIP | CONTENTS_MONSTERCLIP); // rotate endpos back to world frame of reference if (rotated && trace.fraction != 1.0)