From a291e99809652bb3308f08d777bafb134328d835 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 26 Jun 2008 15:08:48 +0000 Subject: Disallow quivering equipped items. (You can still (fi)re your wielded weapon if you insist, you just can't quiver it.) And another general clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6149 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 78393231c9..1bab2e6f70 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2716,7 +2716,7 @@ void jewellery_wear_effects(item_def &item) break; case RING_EVASION: - you.redraw_evasion = 1; + you.redraw_evasion = true; if (item.plus != 0) { if (!artefact) @@ -3160,11 +3160,11 @@ void jewellery_remove_effects(item_def &item) break; case RING_PROTECTION: - you.redraw_armour_class = 1; + you.redraw_armour_class = true; break; case RING_EVASION: - you.redraw_evasion = 1; + you.redraw_evasion = true; break; case RING_STRENGTH: @@ -4065,7 +4065,7 @@ static bool _handle_enchant_armour( int item_slot ) if (ac_change) you.redraw_armour_class = true; - return result; + return (result); } static void handle_read_book( int item_slot ) -- cgit v1.2.3-54-g00ecf