From: divverent Date: Wed, 23 Mar 2011 20:09:21 +0000 (+0000) Subject: make the endless loop run in 3 milliseconds (fixes BIH TracePoint) X-Git-Tag: xonotic-v0.6.0~163^2~584 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a6889a61c4e3f5ec4d52de6ae044dd65e588dd25;p=xonotic%2Fdarkplaces.git 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 --- 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) {