diff options
author | Darkvater <darkvater@openttd.org> | 2005-04-11 20:54:25 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-04-11 20:54:25 +0000 |
commit | 2397ff86e65b2569fbc9e14e70991f44c29a0db6 (patch) | |
tree | ed024e987f57f23fee9bfa53bbd1a640d8ebd288 /station.h | |
parent | 90cc36f7e2466f102668073e0d1f104f30912887 (diff) | |
download | openttd-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |