From 26c627af105b03b2e1f5d74279163712ea546749 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 26 Feb 2010 12:30:07 +0000 Subject: [PATCH] don't bother calling Collision_ValidateBrush when creating box brushes git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10010 d7cf8633-e32d-0410-b094-e92efae38249 --- collision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collision.c b/collision.c index b2d26e4c..b6282627 100644 --- a/collision.c +++ b/collision.c @@ -1238,7 +1238,7 @@ void Collision_BrushForBox(colboxbrushf_t *boxbrush, const vec3_t mins, const ve boxbrush->brush.texture = texture; VectorSet(boxbrush->brush.mins, mins[0] - 1, mins[1] - 1, mins[2] - 1); VectorSet(boxbrush->brush.maxs, maxs[0] + 1, maxs[1] + 1, maxs[2] + 1); - Collision_ValidateBrush(&boxbrush->brush); + //Collision_ValidateBrush(&boxbrush->brush); } void Collision_ClipTrace_BrushBox(trace_t *trace, const vec3_t cmins, const vec3_t cmaxs, const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int hitsupercontentsmask, int supercontents, int q3surfaceflags, texture_t *texture) -- 2.39.2