changeset 3612:4db4e85bdf80 draft

(svn r4507) Just a comment
author celestar <celestar@openttd.org>
date Fri, 21 Apr 2006 20:10:53 +0000
parents aeec8e5da030
children 643dcd9f97a5
files roadveh_cmd.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -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) {