yapf/yapf_road.cpp
changeset 3933 a5f08e17f4a0
parent 3931 ca6abd14504a
child 3975 a197d6ecc4a5
--- a/yapf/yapf_road.cpp	Thu Jun 01 22:20:40 2006 +0000
+++ b/yapf/yapf_road.cpp	Fri Jun 02 13:05:41 2006 +0000
@@ -423,7 +423,9 @@
 Depot* YapfFindNearestRoadDepot(const Vehicle *v)
 {
 	TileIndex tile = v->tile;
+#if 0 /* NOT NEEDED, function does/did nothing */
 	if (v->u.road.state == 255) tile = GetVehicleOutOfTunnelTile(v);
+#endif
 	Trackdir trackdir = GetVehicleTrackdir(v);
 	if ((GetTileTrackStatus(tile, TRANSPORT_ROAD) & TrackdirToTrackdirBits(trackdir)) == 0)
 		return NULL;