Issue description
E 10:39:10,490 S11084575 ~Sim: Overflow while creating Fix32 from int 2126427. Returning 2097152.
at Mafi.Fix32.FromInt (System.Int32 value) [0x00000]
at Mafi.Fix32.op_Implicit (System.Int32 i) [0x00000]
at Mafi.Core.Trains.TrainsManager+<>c.<simUpdateStart>b__53_0 (Mafi.Core.Trains.Train t1, Mafi.Core.Trains.Train t2) [0x00000]
at Mafi.Collections.ComparisonComparer1[T].Compare (T x, T y) [0x00000] at System.Collections.Generic.ArraySortHelper1[T].SwapIfGreater (T[] keys, System.Comparison1[T] comparer, System.Int32 a, System.Int32 b) [0x00000] at System.Collections.Generic.ArraySortHelper1[T].PickPivotAndPartition (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison1[T] comparer) [0x00000] at System.Collections.Generic.ArraySortHelper1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison1[T] comparer) [0x00000] at System.Collections.Generic.ArraySortHelper1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison1[T] comparer) [0x00000] at System.Collections.Generic.ArraySortHelper1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer1[T] comparer) [0x00000] at System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer1[T] comparer) [0x00000]
E 10:39:10,490 S11084575 ~Sim: Overflow while creating Fix32 from int 2124098. Returning 2097152.
Reproduction steps
Triggered during mining.
Game version and build number
v0.7.7 b470
Operating system
Windows
Attachments
The infinite loop produced 7 GB, can't upload it