mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-26 17:07:55 +03:00
On Windows RAND_MAX is 0x7fff, which makes Rand() and RandF() far too coarse. Use mt19937 instead so that seeded sequences reproduce the original engine's behavior.