diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-28 23:47:56 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-29 01:07:35 +0100 |
commit | c433d949e7be797fb8662d2efa3ec73c12c6469a (patch) | |
tree | 182703d56800936fe36d9904f22407f7e4cbad9e /crawl-ref/source/player-equip.cc | |
parent | dcc0ed19d09e205c10bddb627c27520477f126f0 (diff) | |
download | crawl-ref-c433d949e7be797fb8662d2efa3ec73c12c6469a.tar.gz crawl-ref-c433d949e7be797fb8662d2efa3ec73c12c6469a.zip |
Remove mpr_nocap().
No particular reason, other than consistency. And all but two used wasteful
double-conversion, so this is not a speed regression.
Diffstat (limited to 'crawl-ref/source/player-equip.cc')
-rw-r--r-- | crawl-ref/source/player-equip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player-equip.cc b/crawl-ref/source/player-equip.cc index 83b175a377..c6ea4ca77f 100644 --- a/crawl-ref/source/player-equip.cc +++ b/crawl-ref/source/player-equip.cc @@ -1484,7 +1484,7 @@ static void _equip_jewellery_effect(item_def &item, bool unmeld) // Cursed or not, we know that since we've put the ring on. set_ident_flags(item, ISFLAG_KNOW_CURSE); - mpr_nocap(item.name(DESC_INVENTORY_EQUIP).c_str()); + mprf_nocap("%s", item.name(DESC_INVENTORY_EQUIP).c_str()); } static void _unequip_jewellery_effect(item_def &item, bool mesg, bool meld) |