summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/ChunkSource.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-22 21:51:59 +0200
committermadmaxoft <github@xoft.cz>2014-09-22 21:52:38 +0200
commit83588fb0aad5c8597df783792c946c27327f1a40 (patch)
tree986aac86163c6ccc380886480c8c277f17d68742 /Tools/QtBiomeVisualiser/ChunkSource.cpp
parentQtBiomeVisualiser: generator source is read from generator setup ini. (diff)
downloadcuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.gz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.bz2
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.lz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.xz
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.tar.zst
cuberite-83588fb0aad5c8597df783792c946c27327f1a40.zip
Diffstat (limited to 'Tools/QtBiomeVisualiser/ChunkSource.cpp')
-rw-r--r--Tools/QtBiomeVisualiser/ChunkSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/QtBiomeVisualiser/ChunkSource.cpp b/Tools/QtBiomeVisualiser/ChunkSource.cpp
index d8cecbaa4..f7174b624 100644
--- a/Tools/QtBiomeVisualiser/ChunkSource.cpp
+++ b/Tools/QtBiomeVisualiser/ChunkSource.cpp
@@ -171,7 +171,7 @@ void BioGenSource::getChunkBiomes(int a_ChunkX, int a_ChunkZ, ChunkPtr a_DestChu
void BioGenSource::reload()
{
- int seed = m_IniFile->GetValueSetI("Seed", "Seed", 0);
+ int seed = m_IniFile->GetValueSetI("Generator", "Seed", 0);
bool unused = false;
QMutexLocker lock(&m_Mtx);
m_BiomeGen.reset(cBiomeGen::CreateBiomeGen(*m_IniFile, seed, unused));