summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/main.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2014-06-15 17:23:10 +0200
committerNicholas Feinberg <pleasingfung@gmail.com>2014-06-15 09:04:20 -0700
commit60de0e4d682538bdd6e5723b04991321b041a9d5 (patch)
tree6e24853cd0ac1d132581d5320a604e2c29a8deac /crawl-ref/source/main.cc
parente22165b40234456dab22c2b3652cd120591f2966 (diff)
downloadcrawl-ref-60de0e4d682538bdd6e5723b04991321b041a9d5.tar.gz
crawl-ref-60de0e4d682538bdd6e5723b04991321b041a9d5.zip
Hide old enchant weapon scrolls in \ autopickup menu
And allow auto-identifying the last scroll to work again.
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r--crawl-ref/source/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
index b38a9f292a..482db624e5 100644
--- a/crawl-ref/source/main.cc
+++ b/crawl-ref/source/main.cc
@@ -665,6 +665,8 @@ static void _set_removed_types_as_identified()
you.type_ids[OBJ_POTIONS][POT_GAIN_DEXTERITY] = ID_KNOWN_TYPE;
you.type_ids[OBJ_POTIONS][POT_GAIN_INTELLIGENCE] = ID_KNOWN_TYPE;
you.type_ids[OBJ_POTIONS][POT_WATER] = ID_KNOWN_TYPE;
+ you.type_ids[OBJ_SCROLLS][SCR_ENCHANT_WEAPON_II] = ID_KNOWN_TYPE;
+ you.type_ids[OBJ_SCROLLS][SCR_ENCHANT_WEAPON_III] = ID_KNOWN_TYPE;
#endif
// not generated, but the enum value is still used
you.type_ids[OBJ_POTIONS][POT_SLOWING] = ID_KNOWN_TYPE;