summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.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/spells1.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/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 459c4e2c1f..43f5dcb3df 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -21,6 +21,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <iostream>
#include "externs.h"
@@ -1089,8 +1090,8 @@ void cast_ring_of_flames(int power)
void cast_confusing_touch(int power)
{
- mprf("Your %s begin to glow %s.",
- your_hand(true), (you.confusing_touch ? "brighter" : "red") );
+ msg::stream << "Your " << your_hand(true) << " begin to glow "
+ << (you.confusing_touch ? "brighter" : "red") << std::endl;
you.confusing_touch += 5 + (random2(power) / 5);