diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2021-04-27 14:56:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 14:56:12 +0200 |
commit | 903768489d9c4d2e1cc66e80e9032bb8b833ef7f (patch) | |
tree | 511b7383e659650208fd6d0fa198d3fa288da044 /src/Generating | |
parent | fixed typo (#5208) (diff) | |
download | cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar.gz cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar.bz2 cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar.lz cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar.xz cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.tar.zst cuberite-903768489d9c4d2e1cc66e80e9032bb8b833ef7f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/EnderDragonFightStructuresGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/EnderDragonFightStructuresGen.cpp b/src/Generating/EnderDragonFightStructuresGen.cpp index 8e6bf30ce..89292e078 100644 --- a/src/Generating/EnderDragonFightStructuresGen.cpp +++ b/src/Generating/EnderDragonFightStructuresGen.cpp @@ -111,7 +111,7 @@ void cEnderDragonFightStructuresGen::Init(const AString & a_TowerProperties, int // A random angle in radian double Angle = m_Noise.IntNoise1D(m_Noise.GetSeed()) * M_PI + M_PI; // Shuffles the order of the towers - std::shuffle(TowerProperties.begin(), TowerProperties.end(), std::default_random_engine(static_cast<size_t>(m_Noise.GetSeed()))); + std::shuffle(TowerProperties.begin(), TowerProperties.end(), std::default_random_engine(static_cast<std::default_random_engine::result_type>(m_Noise.GetSeed()))); // Generate Positions in a circle for (size_t I = 0; I < TowerProperties.size(); I++) { |