mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Use minstd_rand instead of mt19937 to avoid save game bloat
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
VCMI_LIB_NAMESPACE_BEGIN
|
VCMI_LIB_NAMESPACE_BEGIN
|
||||||
|
|
||||||
using TGenerator = std::mt19937;
|
using TGenerator = std::minstd_rand;
|
||||||
using TIntDist = std::uniform_int_distribution<int>;
|
using TIntDist = std::uniform_int_distribution<int>;
|
||||||
using TInt64Dist = std::uniform_int_distribution<int64_t>;
|
using TInt64Dist = std::uniform_int_distribution<int64_t>;
|
||||||
using TRealDist = std::uniform_real_distribution<double>;
|
using TRealDist = std::uniform_real_distribution<double>;
|
||||||
|
Reference in New Issue
Block a user