diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-06 16:13:04 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-06 16:13:04 +0000 |
commit | 2a50f2e864663a6e5415afb99df63df3e671e591 (patch) | |
tree | 98e8b53a0bb8f21a65fe733ba4a06909766b364c /crawl-ref/source/itemprop.cc | |
parent | 3839702b5dd49acb1b9ef6c04b65a64d9f5710d6 (diff) | |
download | crawl-ref-2a50f2e864663a6e5415afb99df63df3e671e591.tar.gz crawl-ref-2a50f2e864663a6e5415afb99df63df3e671e591.zip |
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
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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; |