1
0
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:
Ivan Savenko 2023-11-06 23:35:28 +02:00 committed by GitHub
parent 2bf599bbee
commit 414c25ea49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>;