Document the smart-leak function.

This commit is contained in:
Bill Currie 2010-09-01 10:06:01 +09:00
parent 93517d40d8
commit bfc6c9e798
1 changed files with 6 additions and 4 deletions

View File

@ -55,10 +55,8 @@ PointInLeaf (node_t *node, vec3_t point)
/** Set the distance to a node from all reachable nodes.
Purpose unknown: not in the id code and the information is not used
anywhere. Probably a bad port from either hqbsp or oq.
\todo Find the port source and either fix qfbsp or nuke this function.
\param n The current node.
\param dist The distance to the original node.
*/
static void
FloodEntDist_r (node_t *n, int dist)
@ -161,6 +159,10 @@ MarkLeakTrail (portal_t *n2)
}
}
/** Mark the trail from outside to the entity.
Try to use the shortest path from the outside node to the entity.
*/
static void
MarkLeakTrail2 (void)
{