diff options
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 40263e2f3b..e5107c9f1a 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -2592,7 +2592,7 @@ int item_mass( const item_def &item ) // Truncate to the nearest 5 and reduce the item mass: unit_mass -= ((reduc / 5) * 5); - unit_mass = MAXIMUM( unit_mass, 5 ); + unit_mass = std::max(unit_mass, 5); } break; |