diff options
author | Enne Walker <ennewalker@users.sourceforge.net> | 2010-02-23 22:34:55 -0500 |
---|---|---|
committer | Enne Walker <ennewalker@users.sourceforge.net> | 2010-02-23 22:34:55 -0500 |
commit | 985f4d906106e58a16ca24232ca9b746a02886c1 (patch) | |
tree | 21cbf59e7bb91ccaee0bb04775aaca9ef4f64e39 /crawl-ref/source/tilereg.cc | |
parent | b2e0d9c5140b39c61386b97294ffc590dc19da88 (diff) | |
download | crawl-ref-985f4d906106e58a16ca24232ca9b746a02886c1.tar.gz crawl-ref-985f4d906106e58a16ca24232ca9b746a02886c1.zip |
Make tiles use viewwindow for 'X' map display.
This eliminates a duplicate function that had gotten out of sync with the
original viewwindow. (In particular, this fixes a bug where using X in
the Abyss would show out of sight tiles and the presence of items.)
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index d08e808126..d293e33007 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -1202,6 +1202,7 @@ void DungeonRegion::pack_buffers() pack_cursor(CURSOR_TUTORIAL, TILE_TUTORIAL_CURSOR); pack_cursor(CURSOR_MOUSE, you.see_cell(m_cursor[CURSOR_MOUSE]) ? TILE_CURSOR : TILE_CURSOR2); + pack_cursor(CURSOR_MAP, TILE_CURSOR); if (m_cursor[CURSOR_TUTORIAL] != NO_CURSOR && on_screen(m_cursor[CURSOR_TUTORIAL])) |