Changeset - r1338:3dbc05775dfa
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-02-07 18:51:46
tron@openttd.org
(svn r1842) Fix another typo made in r1834
1 file changed with 1 insertions and 1 deletions:
npf.c
1
1
0 comments (0 inline, 0 general)
npf.c
Show inline comments
 
@@ -621,7 +621,7 @@ NPFFoundTargetData NPFRouteToDepotTrialE
 
	FOR_ALL_DEPOTS(depot) {
 
		/* Check if this is really a valid depot, it is of the needed type and
 
		 * owner */
 
		if (IsValidDepot(depot) && IsTileDepotType(depot->xy, tiletype) && IsTileOwner(depot->xy, owner))
 
		if (IsValidDepot(depot) && IsTileDepotType(depot->xy, type) && IsTileOwner(depot->xy, owner))
 
			/* If so, let's add it to the queue, sorted by distance */
 
			depots.push(&depots, depot, DistanceManhattan(tile, depot->xy));
 
	}
0 comments (0 inline, 0 general)