diff options
author | tron <tron@openttd.org> | 2005-06-25 16:44:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-25 16:44:57 +0000 |
commit | 9617614b04b7e2981ebff5074b55778381ca8b20 (patch) | |
tree | ed8629cbd76a9334fd657971f55ef5cb63c9915f /smallmap_gui.c | |
parent | 2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (diff) | |
download | openttd-9617614b04b7e2981ebff5074b55778381ca8b20.tar.xz |
(svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Diffstat (limited to 'smallmap_gui.c')
-rw-r--r-- | smallmap_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index 6ba0a6228..5895417c7 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -333,7 +333,7 @@ static void DrawSmallMapStuff(byte *dst, uint xc, uint yc, int pitch, int reps, if (xc < MapMaxX() && yc < MapMaxY()) { // check if the dst pointer points to a pixel inside the screen buffer if (dst > _screen.dst_ptr && dst < dst_ptr_end) - WRITE_PIXELS_OR(dst, proc(TILE_XY(xc, yc)) & mask ); + WRITE_PIXELS_OR(dst, proc(TileXY(xc, yc)) & mask); } // switch to next tile in the column } while (xc++, yc++, dst += pitch, --reps != 0); |