diff options
author | rubidium <rubidium@openttd.org> | 2008-04-11 08:14:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-11 08:14:43 +0000 |
commit | 62bdc381e7dffac0e4898ba733bbfc434fdd00b4 (patch) | |
tree | 7362e29c0c5e19a26316e830647db11101489af2 /src/ship.h | |
parent | 3a0cb23548e3836f2481869c5a0d386af161956d (diff) | |
download | openttd-62bdc381e7dffac0e4898ba733bbfc434fdd00b4.tar.xz |
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
Diffstat (limited to 'src/ship.h')
-rw-r--r-- | src/ship.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship.h b/src/ship.h index 50f42611b..b0a0400ba 100644 --- a/src/ship.h +++ b/src/ship.h @@ -43,6 +43,7 @@ struct Ship: public Vehicle { void Tick(); void OnNewDay(); TileIndex GetOrderStationLocation(StationID station); + bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); }; #endif /* SHIP_H */ |