From 2397ff86e65b2569fbc9e14e70991f44c29a0db6 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 11 Apr 2005 20:54:25 +0000 Subject: (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 --- station.h | 1 + 1 file changed, 1 insertion(+) (limited to 'station.h') 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); -- cgit v1.2.3-54-g00ecf