diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-10-14 07:43:27 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-10-15 01:20:34 +0200 |
commit | c5284c60d9e6b50673067026e9b6321f30b96bfb (patch) | |
tree | 9cdf490cf64aaaf5ba97902b066d719b0cc58f95 /crawl-ref/source/dbg-maps.cc | |
parent | 3f3d475e280a681c13729e8c1d2e6df01069f821 (diff) | |
download | crawl-ref-c5284c60d9e6b50673067026e9b6321f30b96bfb.tar.gz crawl-ref-c5284c60d9e6b50673067026e9b6321f30b96bfb.zip |
Initialize item desc table in --mapstat.
Errors thrown (and blindly silenced) due to bad item names are benign, but
crowd out real errors.
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r-- | crawl-ref/source/dbg-maps.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc index 73ce8311b3..fa46a5e1c9 100644 --- a/crawl-ref/source/dbg-maps.cc +++ b/crawl-ref/source/dbg-maps.cc @@ -411,6 +411,7 @@ void generate_map_stats() // Let "acquire foo" have skill aptitudes to work with. you.species = SP_HUMAN; + initialise_item_descriptions(); initialise_branch_depths(); // We have to run map preludes ourselves. run_map_global_preludes(); |