diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 21:28:30 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-28 21:28:30 +0000 |
commit | c8e9d5bb28e0c9d478d97b329ad504958a9ccc84 (patch) | |
tree | d7296657c9265c98c64218177111dc451a1cb738 /crawl-ref/source | |
parent | eaa40e693172a27b4c2ed1e8d8f09b923beb13d2 (diff) | |
download | crawl-ref-c8e9d5bb28e0c9d478d97b329ad504958a9ccc84.tar.gz crawl-ref-c8e9d5bb28e0c9d478d97b329ad504958a9ccc84.zip |
Fix all manuals generated by vaults becoming manuals of Fighting (dpeg).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7678 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/dat/clua/ziggurat.lua | 6 | ||||
-rw-r--r-- | crawl-ref/source/mapdef.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua index 5b915030ee..707c13366f 100644 --- a/crawl-ref/source/dat/clua/ziggurat.lua +++ b/crawl-ref/source/dat/clua/ziggurat.lua @@ -407,7 +407,7 @@ local function ziggurat_create_loot_vault(entry, exit) local map = dgn.map_by_tag("ziggurat_loot_chamber", false) local function loot_fallback() - crawl.mpr("Failed to create loot vault, giving up", "diagnostic") + --crawl.mpr("Failed to create loot vault, giving up", "diagnostic") -- FAIL, generate loot the usual way. ziggurat_create_loot_at(exit) end @@ -635,8 +635,6 @@ local function ziggurat_ellipse_builder(e) local a = math.floor(b * (200+zig_exc) / 200) local cx, cy = dgn.GXM / 2, dgn.GYM / 2 ---crawl.mpr("area= " ..area .. ", a=" .. a .. ", b=" .. b .. ", exc=" .. zig_exc) - local floor = dgn.fnum("floor") for x=0, dgn.GXM-1 do @@ -676,8 +674,6 @@ local function ziggurat_hexagon_builder(e) c.y) local right = dgn.point(2 * c.x - left.x, c.y) ---crawl.mpr("area=" .. area .. ", a: " .. a .. ", lx=" .. left.x .. ", rx=" .. right.x) - local floor = dgn.fnum("floor") for x = 1, dgn.GXM - 2 do diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index 44d067fe8e..25c13cffc8 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -367,7 +367,7 @@ struct item_spec level_id place; item_spec() : genweight(10), base_type(OBJ_RANDOM), sub_type(OBJ_RANDOM), - plus(0), plus2(0), ego(0), allow_uniques(1), level(-1), + plus(-1), plus2(-1), ego(0), allow_uniques(1), level(-1), race(MAKE_ITEM_RANDOM_RACE), qty(0) { } |