mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-07 12:59:43 +01:00
15 lines
240 B
C
15 lines
240 B
C
/* $Id$ */
|
|
|
|
#ifndef RAIL_MAP_H
|
|
#define RAIL_MAP_H
|
|
|
|
#include "tile.h"
|
|
|
|
// TODO remove this by moving to the same bits as GetRailType()
|
|
static inline RailType GetRailTypeCrossing(TileIndex t)
|
|
{
|
|
return (RailType)GB(_m[t].m4, 0, 4);
|
|
}
|
|
|
|
#endif
|