summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-08 11:24:11 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-08 23:16:37 +1000
commit9840acaf22b2fc6690b3ce54c1a0f4a778d4af2f (patch)
tree7c330b8b73a2138e97c515befb9f9c9c115aca8c /crawl-ref
parent30c5d0fa1afd6e46c2dd8f1630ca3a8de1069c16 (diff)
downloadcrawl-ref-9840acaf22b2fc6690b3ce54c1a0f4a778d4af2f.tar.gz
crawl-ref-9840acaf22b2fc6690b3ce54c1a0f4a778d4af2f.zip
Don't convert item spec strings to lowercase.
parse_single_spec itself does transformations to lowercase, so it can be assumed that it doesn't expect a lowercase string. See mapdef.cc:3799 to mapdef.cc:3802.
Diffstat (limited to 'crawl-ref')
-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 da247ec176..fd2b3581f4 100644
--- a/crawl-ref/source/mapdef.cc
+++ b/crawl-ref/source/mapdef.cc
@@ -4051,7 +4051,7 @@ void item_list::parse_raw_name(std::string name, item_spec &spec)
item_list::item_spec_slot item_list::parse_item_spec(std::string spec)
{
- lowercase(spec);
+ // lowercase(spec);
item_spec_slot list;