summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-mon.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-11-28 09:25:12 +0100
committerNeil Moore <neil@s-z.org>2013-11-28 11:16:38 -0500
commitd9dfa8fc9755fb0a4e8954c7eb94f32fe97b82e0 (patch)
tree812a6f86bd142c3fd8d9215873d9060074e39754 /crawl-ref/source/wiz-mon.cc
parent72c2b335f28c212203c9a7a54ccf1e9fda117c0d (diff)
downloadcrawl-ref-d9dfa8fc9755fb0a4e8954c7eb94f32fe97b82e0.tar.gz
crawl-ref-d9dfa8fc9755fb0a4e8954c7eb94f32fe97b82e0.zip
Replace `mprf(ch, s)` with `mpr(s, ch)`
Scripted, then manually reviewed.
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r--crawl-ref/source/wiz-mon.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc
index e4381bd3db..0a482c7d8c 100644
--- a/crawl-ref/source/wiz-mon.cc
+++ b/crawl-ref/source/wiz-mon.cc
@@ -1051,13 +1051,13 @@ void wizard_give_monster_item(monster* mon)
if ((mon->flags & MF_HARD_RESET) && !(item.flags & ISFLAG_SUMMONED))
{
- mprf(MSGCH_WARN, "WARNING: Monster has MF_HARD_RESET and all its "
- "items will disappear when it does.");
+ mpr("WARNING: Monster has MF_HARD_RESET and all its "
+ "items will disappear when it does.", MSGCH_WARN);
}
else if ((item.flags & ISFLAG_SUMMONED) && !mon->is_summoned())
{
- mprf(MSGCH_WARN, "WARNING: Item is summoned and will disappear when "
- "the monster does.");
+ mpr("WARNING: Item is summoned and will disappear when "
+ "the monster does.", MSGCH_WARN);
}
// Monster's old item moves to player's inventory.
if (old_eq != NON_ITEM)
@@ -1065,8 +1065,8 @@ void wizard_give_monster_item(monster* mon)
mpr("Fetching monster's old item.");
if (mitm[old_eq].flags & ISFLAG_SUMMONED)
{
- mprf(MSGCH_WARN, "WARNING: Item is summoned and shouldn't really "
- "be anywhere but in the inventory of a summoned monster.");
+ mpr("WARNING: Item is summoned and shouldn't really be anywhere "
+ "but in the inventory of a summoned monster.", MSGCH_WARN);
}
mitm[old_eq].pos.reset();
mitm[old_eq].link = NON_ITEM;