From a2a222617953c949a1bc8460583b6f6e330d0c64 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Mon, 12 Apr 2021 23:33:14 +0200 Subject: Fixed generator for the Mega Taiga biome (#5129) * Fixed generator for small foliage. --- src/Generating/ComposableGenerator.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Generating/ComposableGenerator.cpp') diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index a688e7de6..8d3f361bd 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -230,7 +230,8 @@ void cComposableGenerator::InitializeGeneratorDefaults(cIniFile & a_IniFile, eDi "NaturalPatches, " "PreSimulator, " "Animals, " - "OverworldClumpFlowers" + "OverworldClumpFlowers, " + "ForestRocks" ); break; } // dimOverworld @@ -463,6 +464,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) Gen->Init(Pillars, Radius); m_FinishGens.push_back(std::move(Gen)); } + else if (NoCaseCompare(finisher, "ForestRocks") == 0) + { + m_FinishGens.push_back(cFinishGenPtr(new cFinishGenForestRocks(m_Seed, a_IniFile))); + } else if (NoCaseCompare(finisher, "GlowStone") == 0) { m_FinishGens.push_back(std::make_unique(m_Seed)); -- cgit v1.2.3