OpenTTD-patches/station_map.h

15 lines
219 B
C
Raw Normal View History

/* $Id$ */
#include "station.h"
static inline StationID GetStationIndex(TileIndex t)
{
return (StationID)_m[t].m2;
}
static inline Station* GetStationByTile(TileIndex t)
{
return GetStation(GetStationIndex(t));
}