summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 14:19:21 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 14:19:21 +0000
commit32926facf91509d087ccee924000ca2f11c643c8 (patch)
tree4b3c0bd69ef591ff67539f006440d4871be1767c /src/roadveh.h
parente57d6a8e48b1189ae54dcd387e5f35a2fe1da460 (diff)
downloadopenttd-32926facf91509d087ccee924000ca2f11c643c8.tar.xz
(svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 279dad56b..7ac87fca3 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -130,6 +130,7 @@ struct RoadVehicle : public SpecializedVehicle<RoadVehicle, VEH_ROAD> {
Trackdir GetVehicleTrackdir() const;
TileIndex GetOrderStationLocation(StationID station);
bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);
+ void FindRoadStopSlot();
/**
* Check if vehicle is a front engine