diff options
-rw-r--r-- | roadveh_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |