summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-15 20:12:11 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-15 20:12:11 +0000
commitd82ee4ebd849c7bfebb8d9998604e63767849efb (patch)
tree9c60b216c873b3a257b3eee09cd7fc41296aa26c /crawl-ref/source/ouch.cc
parent778880771386e5f111aca28d397c5d32f3e7dca0 (diff)
downloadcrawl-ref-d82ee4ebd849c7bfebb8d9998604e63767849efb.tar.gz
crawl-ref-d82ee4ebd849c7bfebb8d9998604e63767849efb.zip
Minor cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1477 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index fdac3faa45..0c3721f596 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -28,6 +28,7 @@
#include <string.h>
#include <string>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -307,7 +308,7 @@ void weapon_acid( char acid_strength )
if (hand_thing == -1)
{
- mprf("Your %s burn!", your_hand(true) );
+ msg::stream << "Your " << your_hand(true) << " burn!" << std::endl;
ouch( roll_dice( 1, acid_strength ), 0, KILLED_BY_ACID );
}
else if (random2(20) <= acid_strength)