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:23:20 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-23 20:23:20 +0000
commit1a8d4c881449acb7024d558d731d297318162f47 (patch)
tree6014b186d8ba9d17e3dac55a8b3e1137434e4b9c /crawl-ref/source/spl-cast.cc
parentfd8bd1ca5468a36c6ec217327d227c5307ba1356 (diff)
downloadcrawl-ref-1a8d4c881449acb7024d558d731d297318162f47.tar.gz
crawl-ref-1a8d4c881449acb7024d558d731d297318162f47.zip
* Change spell range display to something like @----->..
This should be a bit clearer and is closer to the power display that also uses dots for potential not yet reached. * Fix 2824220: Magic mapping revealing real terrain tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10388 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 a7cff3e036..a71cee4c16 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -2363,8 +2363,7 @@ 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, '.');
}
}