station_map.h
author tron
Sun, 26 Mar 2006 11:08:44 +0000
changeset 3333 41f8abe65d1e
parent 3315 1f65f8260092
child 3334 b72ac8637a30
permissions -rw-r--r--
(svn r4111) Fix/Remove some stale comments
/* $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));
}