diff --git a/Heroes.ReplayParser/Foole.Mpq/MpqArchive.cs b/Heroes.ReplayParser/Foole.Mpq/MpqArchive.cs index 5b9b119..bc61626 100644 --- a/Heroes.ReplayParser/Foole.Mpq/MpqArchive.cs +++ b/Heroes.ReplayParser/Foole.Mpq/MpqArchive.cs @@ -248,7 +248,7 @@ internal static uint HashString(string input, int offset) foreach(char c in input) { - int val = (int)char.ToUpper(c); + int val = (int)char.ToUpperInvariant(c); seed1 = sStormBuffer[offset + val] ^ (seed1 + seed2); seed2 = (uint)val + seed1 + seed2 + (seed2 << 5) + 3; }