summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-04-26 10:21:50 +0000
committersmatz <smatz@openttd.org>2009-04-26 10:21:50 +0000
commitfc63e376168adb7b12d9eca43c3bac3751297c3a (patch)
treee1031591a7f404b76891961f74d11edf4ce824f4 /src/road_gui.cpp
parentcd9f239f0f18080841cb4d069ee45f4e08bc6f41 (diff)
downloadopenttd-fc63e376168adb7b12d9eca43c3bac3751297c3a.tar.xz
(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index e041a08f4..d2241180c 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -507,7 +507,7 @@ struct BuildRoadToolbarWindow : Window {
break;
}
}
- MarkTileDirty(_thd.pos.x, _thd.pos.y); // redraw tile selection
+ MarkTileDirtyByTile(TileVirtXY(_thd.pos.x, _thd.pos.y)); // redraw tile selection
return state;
}