summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-01-01 05:02:09 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-01-03 04:45:59 +0100
commit405e9b68034c5e8793f6c169cbed7dd90d4ac8ba (patch)
tree792e3efe617bb42cfd8dadfb2c20947cad734e74 /crawl-ref/source/dbg-maps.cc
parent29969a4f936d3357f5f25971cbff31c026872a29 (diff)
downloadcrawl-ref-405e9b68034c5e8793f6c169cbed7dd90d4ac8ba.tar.gz
crawl-ref-405e9b68034c5e8793f6c169cbed7dd90d4ac8ba.zip
Use branch depth rather than absolute depth as the authoritative one.
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r--crawl-ref/source/dbg-maps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc
index ab71849d20..7c0d8c5603 100644
--- a/crawl-ref/source/dbg-maps.cc
+++ b/crawl-ref/source/dbg-maps.cc
@@ -162,8 +162,8 @@ static bool mg_build_dungeon()
for (int i = 0, size = places.size(); i < size; ++i)
{
const level_id &lid = places[i];
- you.absdepth0 = absdungeon_depth(lid.branch, lid.depth);
you.where_are_you = lid.branch;
+ you.depth = lid.depth;
if (!mg_do_build_level(1))
return (false);
}