summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 03:16:49 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-01 03:16:49 +0000
commit6e3985b473d0b26c028820b3d0a3808d3f3dd7ee (patch)
tree6885316048023c1adb4eca2dabb2067bf91acbcb /crawl-ref/source
parent7923d4e2c0ed63fbb6f60040682411a0dc104fc4 (diff)
downloadcrawl-ref-6e3985b473d0b26c028820b3d0a3808d3f3dd7ee.tar.gz
crawl-ref-6e3985b473d0b26c028820b3d0a3808d3f3dd7ee.zip
Don't pass a std::string to mprf().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7703 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 9e145e35f8..cece516b84 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4746,7 +4746,7 @@ static bool _handle_special_ability(monsters *monster, bolt & beem)
you.duration[DUR_MESMERISED] = 7;
you.mesmerised_by.push_back(monster_index(monster));
mprf(MSGCH_WARN, "You are mesmerised by %s!",
- monster->name(DESC_NOCAP_THE));
+ monster->name(DESC_NOCAP_THE).c_str());
}
else
{