author | celestar |
Fri, 21 Apr 2006 20:10:53 +0000 | |
changeset 3612 | ca06e611ff3b |
parent 3611 | 808337ad2e36 |
child 3613 | f96401ae2873 |
roadveh_cmd.c | file | annotate | diff | comparison | revisions |
--- 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) {