summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-02 15:07:10 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-02 15:07:10 -0600
commit25e46658ca7d0de82f574cba29ed352064001db7 (patch)
tree85777eab039b50cc0668121c61b10dce6fc27a1a /crawl-ref/source/item_use.cc
parente899ce42db18f54a06e082c482dc528daa3be1d1 (diff)
downloadcrawl-ref-25e46658ca7d0de82f574cba29ed352064001db7.tar.gz
crawl-ref-25e46658ca7d0de82f574cba29ed352064001db7.zip
Add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index a58057e26a..8f703652b7 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -3722,7 +3722,7 @@ void jewellery_remove_effects(item_def &item, bool mesg)
Options.show_uncursed = false;
if (mesg)
- mprf("You remove %s.", item.name(DESC_NOCAP_YOUR).c_str() );
+ mprf("You remove %s.", item.name(DESC_NOCAP_YOUR).c_str());
Options.show_uncursed = old_showuncursed;
@@ -3768,16 +3768,12 @@ void jewellery_remove_effects(item_def &item, bool mesg)
case RING_LEVITATION:
if (you.duration[DUR_LEVITATION] && !you.permanent_levitation())
- {
you.duration[DUR_LEVITATION] = 1;
- }
break;
case RING_INVISIBILITY:
if (you.duration[DUR_INVIS])
- {
you.duration[DUR_INVIS] = 1;
- }
break;
case RING_MAGICAL_POWER: