- made the text comparison for Dehacked case insensitive so that the contents of the string table can be properly capitalized without breaking old-style string replacements.

This commit is contained in:
Christoph Oelckers 2019-02-23 20:23:04 +01:00
parent 7098748e9e
commit d5f138f14d

View file

@ -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();
}