summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-25 14:34:15 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-25 14:34:15 +0100
commitd3bfd29099408506608d8470b44dbd3ff5d75cda (patch)
treef4e1f03009210e0c883f3b4736a1fafb47b54d33 /crawl-ref/source/mapdef.cc
parentfbadf600c57f10fabc415d71b1c04947e5da67b9 (diff)
downloadcrawl-ref-d3bfd29099408506608d8470b44dbd3ff5d75cda.tar.gz
crawl-ref-d3bfd29099408506608d8470b44dbd3ff5d75cda.zip
Drop some redundant lowercasing.
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r--crawl-ref/source/mapdef.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc
index 85cb87996e..dbebda5c42 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -4303,8 +4303,6 @@ mons_spec mons_list::drac_monspec(string name) const
mons_spec mons_list::mons_by_name(string name) const
{
- lowercase(name);
-
name = replace_all_of(name, "_", " ");
name = replace_all(name, "random", "any");
@@ -4990,8 +4988,6 @@ item_spec item_list::parse_single_spec(string s)
string ego_str = strip_tag_prefix(s, "ego:");
string race_str = strip_tag_prefix(s, "race:");
- lowercase(ego_str);
- lowercase(race_str);
if (race_str == "elven")
result.race = MAKE_ITEM_ELVEN;
@@ -5008,7 +5004,6 @@ item_spec item_list::parse_single_spec(string s)
}
string id_str = strip_tag_prefix(s, "ident:");
- lowercase(id_str);
if (id_str == "all")
result.props["ident"].get_int() = ISFLAG_IDENT_MASK;
else if (!id_str.empty())