diff options
author | Chris West <therealchriswest@hotmail.com> | 2013-01-03 14:50:26 +0000 |
---|---|---|
committer | Chris West <therealchriswest@hotmail.com> | 2013-01-05 16:25:24 +0000 |
commit | a8d0a723dec2bc21bc7a9ede345414a3a86cf8d7 (patch) | |
tree | 33432f0523f42b9d8a7f18c345deebd31c11dd4f /crawl-ref/source/tilebuf.cc | |
parent | 05ee1febfb3e47621532d27b924746547a7b7518 (diff) | |
download | crawl-ref-a8d0a723dec2bc21bc7a9ede345414a3a86cf8d7.tar.gz crawl-ref-a8d0a723dec2bc21bc7a9ede345414a3a86cf8d7.zip |
added autoexplore to touch tabs
Diffstat (limited to 'crawl-ref/source/tilebuf.cc')
-rw-r--r-- | crawl-ref/source/tilebuf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilebuf.cc b/crawl-ref/source/tilebuf.cc index cabaa36e86..b9608b72c1 100644 --- a/crawl-ref/source/tilebuf.cc +++ b/crawl-ref/source/tilebuf.cc @@ -131,7 +131,7 @@ void TileBuffer::add_unscaled(tileidx_t idx, float x, float y, int ymax, } void TileBuffer::add(tileidx_t idx, int x, int y, int ox, int oy, - bool centre, int ymax) + bool centre, int ymax, float tile_x, float tile_y) { float pos_sx = x; float pos_sy = y; @@ -140,7 +140,7 @@ void TileBuffer::add(tileidx_t idx, int x, int y, int ox, int oy, bool drawn = tex->get_coords(idx, ox, oy, pos_sx, pos_sy, pos_ex, pos_ey, tex_sx, tex_sy, tex_ex, tex_ey, - centre, -1, ymax, TILE_X, TILE_Y); + centre, -1, ymax, tile_x, tile_y); if (!drawn) return; |