Changeset - r22414:34aae40869eb
[Not reviewed]
master
0 1 0
frosch - 8 years ago 2016-07-22 21:38:49
frosch@openttd.org
(svn r27621) -Fix (r27620): Committed too early.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/smallmap_gui.cpp
Show inline comments
 
@@ -735,17 +735,17 @@ inline uint32 SmallMapWindow::GetTileCol
 
{
 
	int importance = 0;
 
	TileIndex tile = INVALID_TILE; // Position of the most important tile.
 
	TileType et = MP_VOID;         // Effective tile type at that position.
 

	
 
	TILE_AREA_LOOP(ti, ta) {
 
		TileType ttype = GetTileType(tile);
 
		TileType ttype = GetTileType(ti);
 

	
 
		switch (ttype) {
 
			case MP_TUNNELBRIDGE: {
 
				TransportType tt = GetTunnelBridgeTransportType(tile);
 
				TransportType tt = GetTunnelBridgeTransportType(ti);
 

	
 
				switch (tt) {
 
					case TRANSPORT_RAIL: ttype = MP_RAILWAY; break;
 
					case TRANSPORT_ROAD: ttype = MP_ROAD;    break;
 
					default:             ttype = MP_WATER;   break;
 
				}
0 comments (0 inline, 0 general)