From e7502d19aa3e63aebc07e0899ac166671bef84e3 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 15 Feb 2009 17:34:34 +0000 Subject: Implement part of [2595777]: Mark (non-unrandart) knives as mundane items, as clubs, giant clubs, and giant spiked clubs are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9091 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makeitem.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/makeitem.cc') diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index b12423e474..bbcee00cdb 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -1494,7 +1494,8 @@ static bool _item_is_mundane(const item_def& item) case OBJ_WEAPONS: retval = (item.sub_type == WPN_CLUB || item.sub_type == WPN_GIANT_CLUB - || item.sub_type == WPN_GIANT_SPIKED_CLUB); + || item.sub_type == WPN_GIANT_SPIKED_CLUB + || item.sub_type == WPN_KNIFE); break; default: break; -- cgit v1.2.3-54-g00ecf