]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
make the endless loop run in 3 milliseconds (fixes BIH TracePoint)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Mar 2011 20:09:21 +0000 (20:09 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Mar 2011 20:09:21 +0000 (20:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10962 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index 9baafae8d3cacb060dc9209cd454dd981c44adec..4db0a5035db97d1a0e4f79be2c6ba3b20ba24bdc 100644 (file)
@@ -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)
                {