From 961af9991a452fe8ae5abe186a93df67d7169239 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 15 Apr 2008 13:17:04 +0000 Subject: Another one of those pesky spacing changes. One of these days Crawl *will* win the Cleanest Code Championship, just you wait... :p git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4242 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/items.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/items.cc') diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 54b4ec0bf3..6263621330 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -314,7 +314,7 @@ void inc_inv_item_quantity( int obj, int amount ) { if (you.equip[EQ_WEAPON] == obj) you.wield_change = true; - + you.m_quiver->on_inv_quantity_changed(obj, amount); you.inv[obj].quantity += amount; burden_change(); @@ -2333,11 +2333,9 @@ int inv_count(void) { int count=0; - for(int i = 0; i < ENDOFPACK; i++) - { + for (int i = 0; i < ENDOFPACK; i++) if (is_valid_item( you.inv[i] )) count++; - } return count; } -- cgit v1.2.3-54-g00ecf