summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorMikko Vepsalainen <mtvepsal@gmail.com>2014-07-02 14:18:13 +0300
committerNeil Moore <neil@s-z.org>2014-07-10 22:36:26 -0400
commitee241d86bdbbfc211a063d7be0b8b114c53e18e4 (patch)
tree2fb9039e02fb3df7a6e04e86b4612501c0c56496 /crawl-ref/source/abyss.cc
parent7e6aeabbf25d9d4b579b8259edf0dcc88e22f1d9 (diff)
downloadcrawl-ref-ee241d86bdbbfc211a063d7be0b8b114c53e18e4.tar.gz
crawl-ref-ee241d86bdbbfc211a063d7be0b8b114c53e18e4.zip
When Abyss shifts, also shift player's map_seen information, and forget the old areas. Mostly fixes #8625.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index 9fcf1ec14c..10e64a61c0 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -673,6 +673,7 @@ static void _abyss_wipe_square_at(coord_def p, bool saveMonsters=false)
env.map_knowledge(p).clear();
if (env.map_forgotten.get())
(*env.map_forgotten.get())(p).clear();
+ env.map_seen.set(p, false);
StashTrack.update_stash(p);
}