1
/* $Id$ */
2
3
#ifndef RAIL_MAP_H
4
#define RAIL_MAP_H
5
6
#include "tile.h"
7
8
// TODO remove this by moving to the same bits as GetRailType()
9
static inline RailType GetRailTypeCrossing(TileIndex t)
10
{
11
return (RailType)GB(_m[t].m4, 0, 4);
12
}
13
14
#endif