summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_debug.cc
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/l_debug.cc
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/l_debug.cc')
-rw-r--r--crawl-ref/source/l_debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc
index b8f9058f1c..823fef78e3 100644
--- a/crawl-ref/source/l_debug.cc
+++ b/crawl-ref/source/l_debug.cc
@@ -88,7 +88,7 @@ LUAFN(debug_generate_level)
tile_init_default_flavour();
tile_clear_flavour();
tile_new_level(true);
- builder(you.absdepth0, lua_isboolean(ls, 1)? lua_toboolean(ls, 1) : true);
+ builder(lua_isboolean(ls, 1)? lua_toboolean(ls, 1) : true);
return (0);
}