summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-12-28 05:56:51 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-01-03 04:45:58 +0100
commitaa2c033f1e51d41b6e12b0bba858e94cd26aa46c (patch)
tree149c7f48355a7c8804d4f0f05111415f3624d802 /crawl-ref/source/place.h
parent6bd91421d6f26418f4fc84bfb692a3b132183780 (diff)
downloadcrawl-ref-aa2c033f1e51d41b6e12b0bba858e94cd26aa46c.tar.gz
crawl-ref-aa2c033f1e51d41b6e12b0bba858e94cd26aa46c.zip
Don't explicitely pass absdepth:branch in the dungeon builder.
There's no support for producing maps for a level you're not on, around half of functions assumed this.
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 a085a7969e..b5825bf2ac 100644
--- a/crawl-ref/source/place.h
+++ b/crawl-ref/source/place.h
@@ -35,6 +35,8 @@ int subdungeon_depth(branch_type branch, int depth);
// Get absolute depth given the displayable depth in the branch.
int absdungeon_depth(branch_type branch, int subdepth);
+int absdungeon_depth();
+
// Get displayable depth in the current branch.
int player_branch_depth();