summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc2
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()