summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-11 01:19:06 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-11 01:19:06 +0000
commitc98da4f51cec16b498acc6f9e4b52a225dfd61c4 (patch)
tree09ebeb95741844f90372391efaef7baa638dcb8e /crawl-ref/source/spl-cast.cc
parentc87ebb27ffee8e3833fcc274c0e757fb777fb610 (diff)
downloadcrawl-ref-c98da4f51cec16b498acc6f9e4b52a225dfd61c4.tar.gz
crawl-ref-c98da4f51cec16b498acc6f9e4b52a225dfd61c4.zip
Uncolour power string.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7208 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 1f81c690b8..611e227a68 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -213,12 +213,9 @@ static std::string _spell_extra_description(spell_type spell)
desc << std::setw(30) << spell_title(spell);
// spell power, spell range, hunger level, level
- const std::string power_colour = colour_to_str(spell_power_colour(spell));
const std::string rangestring = spell_range_string(spell);
- desc << '<' << power_colour << '>'
- << std::setw(14) << spell_power_string(spell)
- << "</" << power_colour << '>'
+ desc << std::setw(14) << spell_power_string(spell)
<< std::setw(16 + _string_tag_length(rangestring)) << rangestring
<< std::setw(12) << spell_hunger_string(spell)
<< spell_difficulty(spell);