From 8e1e73bb36273c2f4940a1cec8947395f9155d5d Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 30 Nov 2007 14:30:43 +0000 Subject: 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 --- crawl-ref/source/item_use.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref') 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: -- cgit v1.2.3-54-g00ecf