From f251994ff016cc935e026fe0366d4384890b638a Mon Sep 17 00:00:00 2001 From: Enne Walker Date: Tue, 3 Nov 2009 22:34:28 -0500 Subject: 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. --- crawl-ref/source/files.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/files.cc') 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() -- cgit v1.2.3-54-g00ecf