Changeset - r3541:d1e11c31275b
[Not reviewed]
master
0 1 0
belugas - 18 years ago 2006-04-12 20:33:01
belugas@openttd.org
(svn r4404) Reverted part of r4403. GetRailStationAxis need assertion on IsRailwayStation. Thanks glx for spotting it
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
station_map.h
Show inline comments
 
@@ -162,6 +162,7 @@ static inline bool IsHangarTile(TileInde
 

	
 
static inline Axis GetRailStationAxis(TileIndex t)
 
{
 
	assert(IsRailwayStation(t));
 
	return HASBIT(GetStationGfx(t), 0) ? AXIS_Y : AXIS_X;
 
}
 

	
0 comments (0 inline, 0 general)