level/level_outside.c
/*	Vic: rewrote to be faster
	LordHavoc: shortened a little
*/
rewrote to be faster
LordHavoc: shortened a little
rewrote to be faster LordHavoc : shortened a little
node_t	*PointInLeaf (node_t *node, vec3_t point)
{
	while (!node->contents)
		node = node->children[PlaneDiff2( point, &mapplanes[node->planenum] ) <= 0];
	return node;
}
node_t * PointInLeaf ( node_t * node , vec3_t point ) { while ( ! node -> contents ) node = node -> children [ PlaneDiff2 ( point , & mapplanes [ node -> planenum ] ) <= 0 ] ; return node ; }
Vic: rewrote to be faster
LordHavoc: shortened a little
Vic : rewrote to be faster LordHavoc : shortened a little