diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
commit | 156c9851b8a099656fa86ea52d989e35e5b7ebf1 (patch) | |
tree | f2d8b111aee03dba8f37a8c9bd04952ff1b7926c /src/Generating/ChunkGenerator.cpp | |
parent | Fixed decision failure (diff) | |
download | cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.gz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.bz2 cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.lz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.xz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.zst cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.zip |
Diffstat (limited to 'src/Generating/ChunkGenerator.cpp')
-rw-r--r-- | src/Generating/ChunkGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ChunkGenerator.cpp b/src/Generating/ChunkGenerator.cpp index 73f0223e8..1f2958901 100644 --- a/src/Generating/ChunkGenerator.cpp +++ b/src/Generating/ChunkGenerator.cpp @@ -52,7 +52,7 @@ bool cChunkGenerator::Start(cPluginInterface & a_PluginInterface, cChunkSink & a m_ChunkSink = &a_ChunkSink; MTRand rnd; - m_Seed = a_IniFile.GetValueSetI("Seed", "Seed", rnd.randInt()); + m_Seed = a_IniFile.GetValueSetI("Seed", "Seed", (int)rnd.randInt()); AString GeneratorName = a_IniFile.GetValueSet("Generator", "Generator", "Composable"); if (NoCaseCompare(GeneratorName, "Noise3D") == 0) |