Changeset - r3254:eaf05a1a5715
[Not reviewed]
master
0 1 0
tron - 19 years ago 2006-03-18 11:38:43
tron@openttd.org
(svn r3942) GetRailType() != GetRailTileType(), fix r3941
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rail_cmd.c
Show inline comments
 
@@ -1974,9 +1974,9 @@ static uint32 GetTileTrackStatus_Track(T
 

	
 
	m5 = _m[tile].m5;
 

	
 
	if (GetRailType(tile) != RAIL_TYPE_DEPOT_WAYPOINT) {
 
	if (GetRailTileType(tile) != RAIL_TYPE_DEPOT_WAYPOINT) {
 
		ret = (m5 | (m5 << 8)) & 0x3F3F;
 
		if (GetRailType(tile) != RAIL_TYPE_SIGNALS) {
 
		if (GetRailTileType(tile) != RAIL_TYPE_SIGNALS) {
 
			if ( (ret & 0xFF) == 3)
 
			/* Diagonal crossing? */
 
				ret |= 0x40;
0 comments (0 inline, 0 general)