(svn r4507) Just a comment
authorcelestar
Fri, 21 Apr 2006 20:10:53 +0000
changeset 3612 ca06e611ff3b
parent 3611 808337ad2e36
child 3613 f96401ae2873
(svn r4507) Just a comment
roadveh_cmd.c
--- a/roadveh_cmd.c	Fri Apr 21 20:08:25 2006 +0000
+++ b/roadveh_cmd.c	Fri Apr 21 20:10:53 2006 +0000
@@ -1564,6 +1564,7 @@
 	// If we already got a slot at a stop, use that FIRST, and go to a depot later
 	if (v->u.road.slot != NULL) return;
 
+	// XXX If we already have a depot order, WHY do we search over and over?
 	depot = FindClosestRoadDepot(v);
 
 	if (depot == NULL || DistanceManhattan(v->tile, depot->xy) > 12) {