summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-15 17:58:07 -0400
committerNeil Moore <neil@s-z.org>2012-07-15 18:09:16 -0400
commit5681bfce084490ee9a2181a6d05a5958f9307eb6 (patch)
treec3aa96cb17a79e700e221a9aebf7d86e8d95ad71 /crawl-ref/source/dungeon.h
parentb4a20dcf5ef63dd095e788c0bc6ec14b6c047250 (diff)
downloadcrawl-ref-5681bfce084490ee9a2181a6d05a5958f9307eb6.tar.gz
crawl-ref-5681bfce084490ee9a2181a6d05a5958f9307eb6.zip
Link items placed by abyssal vaults.
Items placed by an abyss vault upon being banished weren't linked until later in _build_dungeon_level(); but since e94e10c we have been doing an item scan before returning to the dungeon.cc code. Link the items (and warn about/remove items stuck in walls) just after placing vaults in _generate_area(). Fixed #5704.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 33b2bb912e..99341f684d 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -310,4 +310,6 @@ bool join_the_dots(const coord_def &from, const coord_def &to, unsigned mmask);
int count_feature_in_box(int x0, int y0, int x1, int y1,
dungeon_feature_type feat);
bool door_vetoed(const coord_def pos);
+
+void fixup_misplaced_items(void);
#endif