diff options
author | celestar <celestar@openttd.org> | 2006-04-21 20:10:53 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-21 20:10:53 +0000 |
commit | 78f95ecdebd6738cce2467aeb5c3453bedfa838d (patch) | |
tree | 51367e2abf1cd03bf5680856f664920d4c7c4953 | |
parent | dd3a3adbbd77cf1839eb45af6b8a33662276f53a (diff) | |
download | openttd-78f95ecdebd6738cce2467aeb5c3453bedfa838d.tar.xz |
(svn r4507) Just a comment
-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) { |