From 1e574a6afc2a79914ec50c332d7862b88e8a2393 Mon Sep 17 00:00:00 2001 From: celestar Date: Fri, 21 Apr 2006 20:10:53 +0000 Subject: (svn r4507) Just a comment --- roadveh_cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 4f8da89b1..7bae69524 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -1564,6 +1564,7 @@ static void CheckIfRoadVehNeedsService(Vehicle *v) // 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) { -- cgit v1.2.3-70-g09d2