summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/dat/clua/ziggurat.lua6
-rw-r--r--crawl-ref/source/mapdef.h2
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)
{
}