summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-10 08:32:25 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-10 08:32:25 +0000
commit16c8c1117fda477278eaf4983d93df1fa83e603a (patch)
tree5d4ce9f6f49c7a7881f776223cdc2bb114a898a9 /crawl-ref/source/mapdef.cc
parent4ac70419ee6014d865b26f38d9c3a4fa08bdb2c2 (diff)
downloadcrawl-ref-16c8c1117fda477278eaf4983d93df1fa83e603a.tar.gz
crawl-ref-16c8c1117fda477278eaf4983d93df1fa83e603a.zip
Allow spaces, dashes and periods in character names.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@607 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 0463a13049..fc97d29148 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -582,7 +582,7 @@ int mons_list::mons_by_name(std::string name) const
{
lowercase(name);
- name = replace_all( name, "_", " " );
+ name = replace_all_of( name, "_", " " );
// Special casery:
if (name == "pandemonium demon")