summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 11:03:29 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 11:03:29 +0100
commit978c9967adb4dbafdb6ade3f05345d473fcef2e5 (patch)
tree022956e920696ed6678a02a43ac78aefa9fe9cbf
parentanimal terrain finisher (diff)
downloadcuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar.gz
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar.bz2
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar.lz
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar.xz
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.tar.zst
cuberite-978c9967adb4dbafdb6ade3f05345d473fcef2e5.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index 296e92139..2b0194a27 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -962,7 +962,7 @@ cFinishGenPassiveMobs::cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, e
break;
}
case dimNether:
- case dimEnd:// No nether or end animals (currently)
+ case dimEnd: // No nether or end animals (currently)
{
DefaultAnimalSpawnChunkPercentage = DEF_NO_ANIMALS;
break;
@@ -972,7 +972,7 @@ cFinishGenPassiveMobs::cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, e
ASSERT(!"Unhandled world dimension");
break;
}
- }// switch (dimension)
+ } // switch (dimension)
m_AnimalProbability = a_IniFile.GetValueSetI(SectionName, "AnimalSpawnChunkPercentage", DefaultAnimalSpawnChunkPercentage);
if (m_AnimalProbability < 0 || m_AnimalProbability > 100)
{
@@ -1015,8 +1015,8 @@ void cFinishGenPassiveMobs::GenFinish(cChunkDesc & a_ChunkDesc)
return;
- }// if pack center spawn successful
- }// for tries
+ } // if pack center spawn successful
+ } // for tries
}