summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index be0bbc721d..363fe1a48a 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -434,8 +434,6 @@ static std::string _no_selectables_message(int item_selector)
}
case OSEL_UNIDENT:
return("You don't have any unidentified items.");
- case OSEL_MEMORISE:
- return("You aren't carrying any spellbooks.");
case OSEL_RECHARGE:
return("You aren't carrying any rechargeable items.");
case OSEL_ENCH_ARM:
@@ -1018,10 +1016,6 @@ static bool _item_class_selected(const item_def &i, int selector)
case OSEL_BUTCHERY:
return (itype == OBJ_WEAPONS && can_cut_meat(i));
- case OSEL_MEMORISE:
- return (itype == OBJ_BOOKS && i.sub_type != BOOK_MANUAL
- && (i.sub_type != BOOK_DESTRUCTION || !item_type_known(i)));
-
case OBJ_SCROLLS:
return (itype == OBJ_SCROLLS || itype == OBJ_BOOKS);