diff options
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index f85ae22103..7b3f2518c1 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -474,10 +474,13 @@ struct item_spec int acquirement_source; level_id place; + // Specifically for storing information about randart spell books. + CrawlHashTable props; + item_spec() : genweight(10), base_type(OBJ_RANDOM), sub_type(OBJ_RANDOM), plus(-1), plus2(-1), ego(0), allow_uniques(1), level(-1), race(MAKE_ITEM_RANDOM_RACE), qty(0), acquirement_source(0), - place() + place(), props() { } }; |