diff options
author | smatz <smatz@openttd.org> | 2009-04-26 10:21:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-04-26 10:21:50 +0000 |
commit | fc63e376168adb7b12d9eca43c3bac3751297c3a (patch) | |
tree | e1031591a7f404b76891961f74d11edf4ce824f4 /src/viewport.cpp | |
parent | cd9f239f0f18080841cb4d069ee45f4e08bc6f41 (diff) | |
download | openttd-fc63e376168adb7b12d9eca43c3bac3751297c3a.tar.xz |
(svn r16155) -Codechange: remove MarkTileDirty, use MarkTileDirtyByTile instead
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index aa32bc96d..32bea397e 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1709,18 +1709,6 @@ void MarkTileDirtyByTile(TileIndex tile) ); } -void MarkTileDirty(int x, int y) -{ - Point pt = RemapCoords(x, y, GetTileZ(TileVirtXY(x, y))); - - MarkAllViewportsDirty( - pt.x - 31, - pt.y - 122, - pt.x - 31 + 67, - pt.y - 122 + 154 - ); -} - /** * Marks the selected tiles as dirty. * |