summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.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/terrain.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/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index b55bc0606f..5fbbd6215e 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -891,6 +891,7 @@ void dgn_move_entities_at(coord_def src, coord_def dst,
// Move player's knowledge.
env.map_knowledge(dst) = env.map_knowledge(src);
+ env.map_seen.set(dst, env.map_seen(src));
StashTrack.move_stash(src, dst);
}