diff options
author | Mattes D <github@xoft.cz> | 2014-12-05 22:19:44 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-05 22:19:44 +0100 |
commit | 5712fadf3101ff6e36479f7a3242cb0f7ee2e069 (patch) | |
tree | 0b27506ae222a3cf1dfe9b54d16f6edb672de199 /src/Generating/ComposableGenerator.cpp | |
parent | CheckBasicStyle: Check missing braces for control statements. (diff) | |
parent | formatting and default spawn percentage (diff) | |
download | cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar.gz cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar.bz2 cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar.lz cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar.xz cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.tar.zst cuberite-5712fadf3101ff6e36479f7a3242cb0f7ee2e069.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index 6b8923955..bda45ad92 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -294,7 +294,11 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) for (AStringVector::const_iterator itr = Str.begin(); itr != Str.end(); ++itr) { // Finishers, alpha-sorted: - if (NoCaseCompare(*itr, "BottomLava") == 0) + if (NoCaseCompare(*itr, "Animals") == 0) + { + m_FinishGens.push_back(cFinishGenPtr(new cFinishGenPassiveMobs(Seed, a_IniFile, Dimension))); + } + else if (NoCaseCompare(*itr, "BottomLava") == 0) { int DefaultBottomLavaLevel = (Dimension == dimNether) ? 30 : 10; int BottomLavaLevel = a_IniFile.GetValueSetI("Generator", "BottomLavaLevel", DefaultBottomLavaLevel); |