summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorEnne Walker <ennewalker@users.sourceforge.net>2009-11-03 22:34:28 -0500
committerEnne Walker <ennewalker@users.sourceforge.net>2009-11-03 22:36:12 -0500
commitf251994ff016cc935e026fe0366d4384890b638a (patch)
tree4052f58b190797d0320167185bde06bae0e9db91 /crawl-ref/source/player.cc
parent1bf203aaf578284d268fdca67c9d334a79a53c0d (diff)
downloadcrawl-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/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index c81874056b..36eac16777 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6003,6 +6003,8 @@ void player::init()
// Currently only set if Xom accidentally kills the player.
reset_escaped_death();
+
+ on_current_level = true;
}
player_save_info player_save_info::operator=(const player& rhs)