summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-07-22 21:38:49 +0000
committerfrosch <frosch@openttd.org>2016-07-22 21:38:49 +0000
commita5b7800aca3b1fd222e8c10d4122617ccd4941a3 (patch)
tree7fe91b1a6024520dc03969ad0233f50ad00a9785 /src/smallmap_gui.cpp
parented27cec0942ea73e538424448e2bd9affaec073c (diff)
downloadopenttd-a5b7800aca3b1fd222e8c10d4122617ccd4941a3.tar.xz
(svn r27621) -Fix (r27620): Committed too early.
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 3d14a3d54..8b5d1e889 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -738,11 +738,11 @@ inline uint32 SmallMapWindow::GetTileColours(const TileArea &ta) const
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;