diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 15:08:48 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 15:08:48 +0000 |
commit | a291e99809652bb3308f08d777bafb134328d835 (patch) | |
tree | e6fa16ffe6ec572ac2f8ba44a62575d70a2e6bfe /crawl-ref/source/item_use.cc | |
parent | 7dd20bb5af17f48ca9a2ff5e4d63cd494e0498de (diff) | |
download | crawl-ref-a291e99809652bb3308f08d777bafb134328d835.tar.gz crawl-ref-a291e99809652bb3308f08d777bafb134328d835.zip |
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
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 ) |