summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-15 18:23:37 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-15 18:32:50 +0200
commit24f731f88627020b36748b59dd9a4da7118f5f25 (patch)
treeab8865b273119797a7c5aedc46566c633e418847 /crawl-ref/source/dungeon.h
parenta8e8e54d37581717a8010cdedd86fa9ea3481741 (diff)
downloadcrawl-ref-24f731f88627020b36748b59dd9a4da7118f5f25.tar.gz
crawl-ref-24f731f88627020b36748b59dd9a4da7118f5f25.zip
Fix subvault give-back not working properly on failures of the host vault.
Subvaults were registered as used the moment SUBVAULT clause resolved, without a way to undo that registration (except for the whole level being vetoed). The host vault was then properly given back, possibly resulting in the subvault being exhausted if it had no allow_dup.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index cf5092efef..7d719cd4b9 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -252,7 +252,6 @@ void dgn_set_branch_epilogue(branch_type br, string callback_name);
void dgn_reset_level(bool enable_random_maps = true);
void dgn_register_place(const vault_placement &place, bool register_vault);
-void dgn_register_vault(const map_def &map);
void dgn_seen_vault_at(coord_def p);