mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-14 16:15:14 +01:00
(svn r4507) Just a comment
This commit is contained in:
parent
de0607fb80
commit
1e574a6afc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user