summaryrefslogtreecommitdiff
path: root/station_map.h
blob: 192979d77579e9ac3988d189f036af7d7d66888e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $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));
}