1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +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

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