summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index 7cb4252197..4774684560 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -350,9 +350,10 @@ struct item_spec
int allow_uniques;
int level;
int race;
+ int qty;
item_spec() : genweight(10), base_type(OBJ_RANDOM), sub_type(OBJ_RANDOM),
- allow_uniques(1), level(-1), race(MAKE_ITEM_RANDOM_RACE)
+ allow_uniques(1), level(-1), race(MAKE_ITEM_RANDOM_RACE), qty(0)
{
}
};