From 2a50f2e864663a6e5415afb99df63df3e671e591 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 6 Feb 2009 16:13:04 +0000 Subject: Make monster size checks for weapons and armor consistent with those for players: torso size, not body size, counts. This should fix [2508934], without having to fix any monster flags :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8928 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index c23cd5dd0f..40263e2f3b 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -2736,8 +2736,7 @@ size_type item_size( const item_def &item ) break; case OBJ_CORPSES: - // FIXME - // size = mons_size( item.plus, PSIZE_BODY ); + // FIXME: This should depend on the original monster's size! size = SIZE_SMALL; break; -- cgit v1.2.3-54-g00ecf