From 62bdc381e7dffac0e4898ba733bbfc434fdd00b4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 11 Apr 2008 08:14:43 +0000 Subject: (svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class. --- src/aircraft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/aircraft.h') diff --git a/src/aircraft.h b/src/aircraft.h index 8662f947b..50611803c 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -127,6 +127,7 @@ struct Aircraft : public Vehicle { void Tick(); void OnNewDay(); TileIndex GetOrderStationLocation(StationID station); + bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); }; #endif /* AIRCRAFT_H */ -- cgit v1.2.3-54-g00ecf