diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-06-20 00:11:59 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-06-20 00:19:02 +0530 |
commit | 9c2d32961c4675eec704db28e438f935df4f9c1b (patch) | |
tree | 304fab90aa44be6b36f23ba030aa01d8fa13b89b /crawl-ref/source/dlua.cc | |
parent | 87a1c5ac371e08d69d581e12742ec1d8f1883c95 (diff) | |
download | crawl-ref-9c2d32961c4675eec704db28e438f935df4f9c1b.tar.gz crawl-ref-9c2d32961c4675eec704db28e438f935df4f9c1b.zip |
Make dungeon builder reject vaults that have no DEPTH, PLACE or TAGS that can be used to place the vault, add default-depths to .des file to pass these checks.
The preferred way to disable vaults is to give them a zero weight.
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r-- | crawl-ref/source/dlua.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc index b2590f2b86..7d7b90c968 100644 --- a/crawl-ref/source/dlua.cc +++ b/crawl-ref/source/dlua.cc @@ -282,6 +282,7 @@ void init_dungeon_lua() dlua.execfile("clua/dungeon.lua", true, true); dlua.execfile("clua/luamark.lua", true, true); + dlua.execfile("clua/mapinit.lua", true, true); lua_getglobal(dlua, "dgn_run_map"); luaopen_debug(dlua); |