mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Use minstd_rand instead of mt19937 to avoid save game bloat
This commit is contained in:
parent
2bf599bbee
commit
414c25ea49
@ -14,7 +14,7 @@
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
using TGenerator = std::mt19937;
|
||||
using TGenerator = std::minstd_rand;
|
||||
using TIntDist = std::uniform_int_distribution<int>;
|
||||
using TInt64Dist = std::uniform_int_distribution<int64_t>;
|
||||
using TRealDist = std::uniform_real_distribution<double>;
|
||||
|
Loading…
Reference in New Issue
Block a user