summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-14 23:40:12 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-15 01:20:35 +0200
commit5d608aaa27ff92b7ee356032439a769ae5488dd4 (patch)
tree6d0dc3b5469dfe65322c0b1b8f6307181badfec4 /crawl-ref/source/dbg-maps.cc
parent21d8a81a92d44d8ea2c542612ad9e2123994db5a (diff)
downloadcrawl-ref-5d608aaa27ff92b7ee356032439a769ae5488dd4.tar.gz
crawl-ref-5d608aaa27ff92b7ee356032439a769ae5488dd4.zip
Hush a couple of errors in --mapstat.
Since mapstat doesn't handle overflow temples, there's no much point in handling Temple maps exactly as in real games, at least as far as altar substitution is concerned. Also, fixed uniques need to be cleared when their vaults are cleared. I think this makes remaining errors that pop up on --mapstat real bugs; there's depressingly many of them: * layout_roguey special rooms getting overwritten by other vaults * grunt_rogues_gallery running out of subvaults (usually on encompass levels) * No vault found for tag 'laboratory_2' * Lua error: »…«/dat/des/traps/grate.des:87: attempt to index global 'e' (a nil value) * Bad (disconnected) level on XXX (vault1, vault2) • this tends to be a vault with bad substitutions, like current zaba_anthell * invalid zombie size: small zombie for moth of suppression
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r--crawl-ref/source/dbg-maps.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc
index fa46a5e1c9..d8066a021c 100644
--- a/crawl-ref/source/dbg-maps.cc
+++ b/crawl-ref/source/dbg-maps.cc
@@ -191,6 +191,7 @@ static void mg_build_levels(int niters)
you.uniq_map_tags.clear();
you.uniq_map_names.clear();
+ you.unique_creatures.init(false);
init_level_connectivity();
if (!mg_build_dungeon())
break;