summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-30 17:20:53 -0400
committerNeil Moore <neil@s-z.org>2014-05-30 17:22:52 -0400
commit95d9ad379b0ab35895a78de3ba6e5f3fc42bd0e0 (patch)
treeb99710aabc8b13338a7578b3dcc2fa348ee165ca /crawl-ref/source/itemname.cc
parent179939179600d24fab22648b1e5db8450f2ca8bd (diff)
downloadcrawl-ref-95d9ad379b0ab35895a78de3ba6e5f3fc42bd0e0.tar.gz
crawl-ref-95d9ad379b0ab35895a78de3ba6e5f3fc42bd0e0.zip
Remove darts from autopickup menu (#8615)
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 492bb37656..171dbb9311 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -2405,6 +2405,10 @@ void check_item_knowledge(bool unknown_items)
// Missiles
for (int i = 0; i < NUM_MISSILES; i++)
{
+#if TAG_MAJOR_VERSION == 34
+ if (i == MI_DART)
+ continue;
+#endif
item_def* ptmp = new item_def;
if (ptmp != 0)
{