summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index f7f7e7dd56..c8804b94fa 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2029,9 +2029,9 @@ bool check_weapon_wieldable_size( const item_def &item, size_type size )
int fit = fit_weapon_wieldable_size( item, size );
// Adjust fit for size.
- if (size < SIZE_MEDIUM && fit > 0)
+ if (size < SIZE_SMALL && fit > 0)
fit--;
- else if (size > SIZE_MEDIUM && fit < 0)
+ else if (size > SIZE_LARGE && fit < 0)
fit++;
return (fit == 0);