From: havoc Date: Fri, 26 Feb 2010 12:30:07 +0000 (+0000) Subject: don't bother calling Collision_ValidateBrush when creating box brushes X-Git-Tag: xonotic-v0.1.0preview~230^2~459 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=26c627af105b03b2e1f5d74279163712ea546749;p=xonotic%2Fdarkplaces.git 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 --- 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)