summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-scan.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-12-30 15:31:50 -0500
committerNeil Moore <neil@s-z.org>2013-12-30 15:36:36 -0500
commit3faffb6e9bfeec2378ae307427485bfae9f68deb (patch)
treeccfb2ee4e66fa01e620c79b36f4f7ae8821dc76d /crawl-ref/source/dbg-scan.cc
parent5c7722d1550d505675520ae004105a0e0950f69e (diff)
downloadcrawl-ref-3faffb6e9bfeec2378ae307427485bfae9f68deb.tar.gz
crawl-ref-3faffb6e9bfeec2378ae307427485bfae9f68deb.zip
Don't check for missing portals while ascending (#7941)
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r--crawl-ref/source/dbg-scan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc
index a4534e5d10..b7adcc868b 100644
--- a/crawl-ref/source/dbg-scan.cc
+++ b/crawl-ref/source/dbg-scan.cc
@@ -694,7 +694,7 @@ void check_map_validity()
exit = DNGN_UNSEEN;
}
- if (portal)
+ if (portal && you.char_direction != GDT_ASCENDING)
{
#ifdef DEBUG_DIAGNOSTICS
dump_map("missing_portal.map", true);