summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-23 20:30:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-23 20:30:37 +0000
commit17c673c46bf3ad203eba73f9818933e307ded6d3 (patch)
treed2328abfb8aaeb8ba8487ac5b0bb8075dd8dbdd9 /crawl-ref/source/spl-cast.cc
parente6e8b4a9e49b7313418a64850f7c924f36d8dcbe (diff)
downloadcrawl-ref-17c673c46bf3ad203eba73f9818933e307ded6d3.tar.gz
crawl-ref-17c673c46bf3ad203eba73f9818933e307ded6d3.zip
Apply my previous two commits to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10390 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, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 2735db6f9a..8dfbd94993 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2352,9 +2352,8 @@ std::string spell_range_string(spell_type spell)
return "N/A";
else
{
- return std::string("@") + std::string(range, '.')
- + "<darkgrey>" + std::string(maxrange - range, '.')
- + "</darkgrey>";
+ return std::string("@") + std::string(range - 1, '-')
+ + std::string(">") + std::string(maxrange - range, '.');
}
}