# HG changeset patch # User frosch # Date 2016-07-22 21:38:49 # Node ID 34aae40869eb3c2f2f3a68435228616416c93ed1 # Parent 35b65d631e8fad720cc6dd13750f517dba19e996 (svn r27621) -Fix (r27620): Committed too early. diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -738,11 +738,11 @@ inline uint32 SmallMapWindow::GetTileCol 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;