Fixed long level/map seeds always being converted to int.MaxVal
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user