(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

This commit is contained in:
Darkvater
2005-04-11 20:54:25 +00:00
parent 78eeb84d6b
commit 4719c452e8
3 changed files with 8 additions and 10 deletions

View File

@@ -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);