summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/defines.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-13 16:31:49 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-13 16:34:17 +0200
commit94282c3d5167f179bd976345afea680d18b11153 (patch)
tree60efb68bb6b97b2c8757b2ea17499ef2be8d4009 /crawl-ref/source/defines.h
parent468c7cae3a5df427ca03f2deb0e730d99998441c (diff)
downloadcrawl-ref-94282c3d5167f179bd976345afea680d18b11153.tar.gz
crawl-ref-94282c3d5167f179bd976345afea680d18b11153.zip
Fix crashes when seeing scourges or trishulas.
That new autopickup menu blindly assumed a fixed number of 50 item types, only because any item class with globally identifiable types has less than 50 of them. which is not true for weapons (53).
Diffstat (limited to 'crawl-ref/source/defines.h')
-rw-r--r--crawl-ref/source/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/defines.h b/crawl-ref/source/defines.h
index 928bbcbb8d..8b25fd55a7 100644
--- a/crawl-ref/source/defines.h
+++ b/crawl-ref/source/defines.h
@@ -78,7 +78,7 @@ enum extra_monster_index_type
// size of Pan monster sets. Also used for wave data in ZotDef.
#define MAX_MONS_ALLOC 20
-#define MAX_SUBTYPES 50
+#define MAX_SUBTYPES 60
// max size of item list {dlb}:
#define MAX_ITEMS 2000