summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/command.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 55023f0af5..ae0c88f9a1 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1343,7 +1343,8 @@ static bool _do_description(std::string key, std::string type,
append_missile_info(desc);
desc += "$";
}
- else if (get_item_by_name(&mitm[thing_created], name, OBJ_BOOKS)
+ else if (type == "spell"
+ || get_item_by_name(&mitm[thing_created], name, OBJ_BOOKS)
|| get_item_by_name(&mitm[thing_created], name, OBJ_STAVES))
{
if (!_append_books(desc, mitm[thing_created], key))