summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-13 14:18:22 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-13 14:18:22 +0000
commit59ed12959885ad6abb1b8c3cbe31e66e74417136 (patch)
treeaf18e8db3b3d9fa6108752d05566a6b6c6928471 /crawl-ref/source/item_use.cc
parent8d97ef9f448666629bb9338f3641ee5404ecee66 (diff)
downloadcrawl-ref-59ed12959885ad6abb1b8c3cbe31e66e74417136.tar.gz
crawl-ref-59ed12959885ad6abb1b8c3cbe31e66e74417136.zip
Fix spurious encumberance messages when combining ammo in inventory.
Fixes 2354891. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7823 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index f20ff2e789..5548e6d666 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -1741,7 +1741,7 @@ void _merge_ammo_in_inventory(int slot)
if (!done_anything)
mpr("You combine your ammunition.");
- inc_inv_item_quantity(slot, you.inv[i].quantity);
+ inc_inv_item_quantity(slot, you.inv[i].quantity, true);
dec_inv_item_quantity(i, you.inv[i].quantity);
done_anything = true;
}