Fixed long level/map seeds always being converted to int.MaxVal

This commit is contained in:
Regalis
2016-05-03 00:16:43 +03:00
parent 09e8b8b9c6
commit 26608d3f82

View File

@@ -331,7 +331,7 @@ namespace Barotrauma
for (int i = 4; i < asciiBytes.Length; i++)
{
asciiBytes[i % 4] |= asciiBytes[i];
asciiBytes[i % 4] ^= asciiBytes[i];
}
return BitConverter.ToInt32(asciiBytes, 0);