summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-08 13:36:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-08 13:36:11 +0200
commit0763ab119ad8f01b9547ea1ea31e7a768b7a0755 (patch)
tree332fc5aa20b486e44b13cdbf15bf54c4d4331a6b /crawl-ref/source/place.h
parent6b22b519f2c1f743d170d230f77b41af17edad7b (diff)
downloadcrawl-ref-0763ab119ad8f01b9547ea1ea31e7a768b7a0755.tar.gz
crawl-ref-0763ab119ad8f01b9547ea1ea31e7a768b7a0755.zip
Assert out if you try to enter a level that's already on the stack.
No current disconnected level supports multiple copies.
Diffstat (limited to 'crawl-ref/source/place.h')
-rw-r--r--crawl-ref/source/place.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/place.h b/crawl-ref/source/place.h
index fbceaf37af..190751aafa 100644
--- a/crawl-ref/source/place.h
+++ b/crawl-ref/source/place.h
@@ -40,4 +40,6 @@ bool branch_is_stash_trackable(branch_type branch);
std::vector<level_id> all_dungeon_ids();
+bool is_level_on_stack(level_id id);
+
#endif