From a6889a61c4e3f5ec4d52de6ae044dd65e588dd25 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 23 Mar 2011 20:09:21 +0000 Subject: [PATCH] make the endless loop run in 3 milliseconds (fixes BIH TracePoint) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10962 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index 9baafae8..4db0a503 100644 --- a/model_brush.c +++ b/model_brush.c @@ -5980,7 +5980,7 @@ static void Mod_CollisionBIH_TracePoint_RecursiveBIHNode(trace_t *trace, dp_mode node = model->collision_bih.nodes + nodenum; #if 1 if (!BoxesOverlap(point, point, node->mins, node->maxs)) - continue; + return; #endif if (node->type == BIH_UNORDERED) { -- 2.39.2