summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
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")