diff --git a/src/gamedata/stringtable.cpp b/src/gamedata/stringtable.cpp index d57361eac..be03b38bd 100644 --- a/src/gamedata/stringtable.cpp +++ b/src/gamedata/stringtable.cpp @@ -275,7 +275,7 @@ const char *StringMap::MatchString (const char *string) const while (it.NextPair(pair)) { - if (pair->Value.Compare(string) == 0) + if (pair->Value.CompareNoCase(string) == 0) { return pair->Key.GetChars(); }