diff options
author | Neil Moore <neil@s-z.org> | 2014-05-30 17:20:53 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-30 17:22:52 -0400 |
commit | 95d9ad379b0ab35895a78de3ba6e5f3fc42bd0e0 (patch) | |
tree | b99710aabc8b13338a7578b3dcc2fa348ee165ca /crawl-ref/source/itemname.cc | |
parent | 179939179600d24fab22648b1e5db8450f2ca8bd (diff) | |
download | crawl-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.cc | 4 |
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) { |