1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Merge pull request #4071 from IvanSavenko/fix_rng_syncronization

[1.6] Fix potential desync if client uses different stdlib with different random number generators
This commit is contained in:
Ivan Savenko
2024-07-19 13:08:09 +03:00
committed by GitHub
150 changed files with 1136 additions and 748 deletions

View File

@@ -28,6 +28,8 @@
#include "../CPlayerState.h"
#include "../serializer/CMemorySerializer.h"
#include <vstd/RNG.h>
VCMI_LIB_NAMESPACE_BEGIN
CampaignHeroReplacement::CampaignHeroReplacement(CGHeroInstance * hero, const ObjectInstanceID & heroPlaceholderId):