summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-30 14:30:43 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-30 14:30:43 +0000
commit8e1e73bb36273c2f4940a1cec8947395f9155d5d (patch)
tree4045ec246af84f46adc500bc6546b6c4511f08f2 /crawl-ref/source/item_use.cc
parent834433c3ecbe92a4cedd51f0b495838f78de1a16 (diff)
downloadcrawl-ref-8e1e73bb36273c2f4940a1cec8947395f9155d5d.tar.gz
crawl-ref-8e1e73bb36273c2f4940a1cec8947395f9155d5d.zip
Be more verbose when removing/putting on jewellery [1826283]
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2951 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index a61b5fec33..23a783319a 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2405,7 +2405,7 @@ void jewellery_wear_effects(item_def &item)
break;
case RING_PROTECTION:
- you.redraw_armour_class = 1;
+ you.redraw_armour_class = true;
if (item.plus != 0)
{
if (!artefact)
@@ -2443,21 +2443,21 @@ void jewellery_wear_effects(item_def &item)
break;
case RING_STRENGTH:
- modify_stat(STAT_STRENGTH, item.plus, !artefact, item);
+ modify_stat(STAT_STRENGTH, item.plus, false, item);
if (item.plus != 0 && !artefact)
ident = ID_KNOWN_TYPE;
learn_pluses = true;
break;
case RING_DEXTERITY:
- modify_stat(STAT_DEXTERITY, item.plus, !artefact, item);
+ modify_stat(STAT_DEXTERITY, item.plus, false, item);
if (item.plus != 0 && !artefact)
ident = ID_KNOWN_TYPE;
learn_pluses = true;
break;
case RING_INTELLIGENCE:
- modify_stat(STAT_INTELLIGENCE, item.plus, !artefact, item);
+ modify_stat(STAT_INTELLIGENCE, item.plus, false, item);
if (item.plus != 0 && !artefact)
ident = ID_KNOWN_TYPE;
learn_pluses = true;
@@ -2860,15 +2860,15 @@ void jewellery_remove_effects(item_def &item)
break;
case RING_STRENGTH:
- modify_stat(STAT_STRENGTH, -item.plus, true, item, true);
+ modify_stat(STAT_STRENGTH, -item.plus, false, item, true);
break;
case RING_DEXTERITY:
- modify_stat(STAT_DEXTERITY, -item.plus, true, item, true);
+ modify_stat(STAT_DEXTERITY, -item.plus, false, item, true);
break;
case RING_INTELLIGENCE:
- modify_stat(STAT_INTELLIGENCE, -item.plus, true, item, true);
+ modify_stat(STAT_INTELLIGENCE, -item.plus, false, item, true);
break;
case RING_INVISIBILITY: