summaryrefslogtreecommitdiffstats
path: root/Tools/QtBiomeVisualiser/GeneratorSetup.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-19 14:01:59 +0200
committerMattes D <github@xoft.cz>2014-10-19 14:01:59 +0200
commite0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2 (patch)
treed61cac715328f06c58c506dd74b8ee818a0c28ad /Tools/QtBiomeVisualiser/GeneratorSetup.cpp
parentcLuaState: cMonster descendants don't push their specific type. (diff)
downloadcuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.gz
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.bz2
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.lz
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.xz
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.zst
cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.zip
Diffstat (limited to 'Tools/QtBiomeVisualiser/GeneratorSetup.cpp')
-rw-r--r--Tools/QtBiomeVisualiser/GeneratorSetup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/QtBiomeVisualiser/GeneratorSetup.cpp b/Tools/QtBiomeVisualiser/GeneratorSetup.cpp
index d6348ee00..7d94a1682 100644
--- a/Tools/QtBiomeVisualiser/GeneratorSetup.cpp
+++ b/Tools/QtBiomeVisualiser/GeneratorSetup.cpp
@@ -59,7 +59,7 @@ GeneratorSetup::GeneratorSetup(const AString & a_IniFileName, QWidget * a_Parent
m_IniFile->SetValue("Generator", "Generator", "Composable");
m_IniFile->SetValue("Generator", "BiomeGen", m_cbGenerator->currentText().toStdString());
bool dummy;
- delete cBiomeGen::CreateBiomeGen(*m_IniFile, 0, dummy);
+ cBiomeGen::CreateBiomeGen(*m_IniFile, 0, dummy);
}
updateFromIni();
@@ -91,7 +91,7 @@ void GeneratorSetup::generatorChanged(const QString & a_NewName)
// Create a dummy biome gen from the INI file, this will create the defaults in the INI file:
bool dummy;
- delete cBiomeGen::CreateBiomeGen(*m_IniFile, m_Seed, dummy);
+ cBiomeGen::CreateBiomeGen(*m_IniFile, m_Seed, dummy);
// Read all values from the INI file and put them into the form layout:
updateFromIni();