summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-04-11 20:54:25 +0000
committerDarkvater <darkvater@openttd.org>2005-04-11 20:54:25 +0000
commit2397ff86e65b2569fbc9e14e70991f44c29a0db6 (patch)
treeed024e987f57f23fee9bfa53bbd1a640d8ebd288 /station.h
parent90cc36f7e2466f102668073e0d1f104f30912887 (diff)
downloadopenttd-2397ff86e65b2569fbc9e14e70991f44c29a0db6.tar.xz
(svn r2184) - CodeChange: remove the copy of ClearSlot(), which is now also called for CmdSkipOrder(). This also fixes the involuntary crash introduced 2 revisions ago
Diffstat (limited to 'station.h')
-rw-r--r--station.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/station.h b/station.h
index bb1fe66ce..f76eda227 100644
--- a/station.h
+++ b/station.h
@@ -270,6 +270,7 @@ static inline int GetRoadStopType(TileIndex tile)
uint GetNumRoadStops(const Station *st, RoadStopType type);
RoadStop * GetPrimaryRoadStop(const Station *st, RoadStopType type);
RoadStop * AllocateRoadStop( void );
+void ClearSlot(Vehicle *v, RoadStop *rs);
static inline bool IsTrainStationTile(uint tile) {
return IsTileType(tile, MP_STATION) && IS_BYTE_INSIDE(_map5[tile], 0, 8);