diff options
author | Enne Walker <ennewalker@users.sourceforge.net> | 2009-11-03 22:34:28 -0500 |
---|---|---|
committer | Enne Walker <ennewalker@users.sourceforge.net> | 2009-11-03 22:36:12 -0500 |
commit | f251994ff016cc935e026fe0366d4384890b638a (patch) | |
tree | 4052f58b190797d0320167185bde06bae0e9db91 /crawl-ref/source/files.cc | |
parent | 1bf203aaf578284d268fdca67c9d334a79a53c0d (diff) | |
download | crawl-ref-f251994ff016cc935e026fe0366d4384890b638a.tar.gz crawl-ref-f251994ff016cc935e026fe0366d4384890b638a.zip |
Support for X map multi-level viewing on tiles.
Fixes seeing in-LOS squares on incorrect levels. Fixes the minimap not
updating. Fixes the player dot appearing on the minimap on wrong levels.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 3c8ee8e2ed..a4e2588b75 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1915,6 +1915,8 @@ void level_excursion::go_to(const level_id& next) _save_level(you.your_level, you.level_type, you.where_are_you); _restore_level(next); } + + you.on_current_level = (level_id::current() == original); } level_excursion::~level_excursion() |