diff options
author | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-03 09:12:32 +0100 |
---|---|---|
committer | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-03 09:12:32 +0100 |
commit | 8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6 (patch) | |
tree | 9f21b3557bcab6fead31a13903b0594875d6d5b6 /src/Generating/FinishGen.cpp | |
parent | doxy-commenting (diff) | |
download | cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.gz cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.bz2 cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.lz cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.xz cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.tar.zst cuberite-8c3b9ae15b8c590610fb05f32bd19d2d480f3fd6.zip |
Diffstat (limited to 'src/Generating/FinishGen.cpp')
-rw-r--r-- | src/Generating/FinishGen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 0844b01ab..d938c34bd 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -1001,7 +1001,7 @@ void cFinishGenPassiveMobs::GenFinish(cChunkDesc & a_ChunkDesc) return; } - // Try spawning a pack center 10 times, should get roughly the same probability + /** Try spawning a pack center 10 times, should get roughly the same probability */ for (int Tries = 0; Tries < 10; Tries++) { int PackCenterX = (m_Noise.IntNoise2DInt(chunkX, chunkZ) / 7) % cChunkDef::Width; @@ -1030,7 +1030,7 @@ bool cFinishGenPassiveMobs::TrySpawnAnimals(cChunkDesc & a_ChunkDesc, int a_RelX BLOCKTYPE BlockAtFeet = a_ChunkDesc.GetBlockType(a_RelX, a_RelY, a_RelZ); BLOCKTYPE BlockUnderFeet = a_ChunkDesc.GetBlockType(a_RelX, a_RelY - 1, a_RelZ); - // Check block below (opaque, grass, water), and above (air) + /** Check block below (opaque, grass, water), and above (air) */ if (AnimalToSpawn == mtSquid && BlockAtFeet != E_BLOCK_WATER) { return false; @@ -1081,7 +1081,7 @@ eMonsterType cFinishGenPassiveMobs::GetRandomMob(cChunkDesc & a_ChunkDesc) int x = (m_Noise.IntNoise2DInt(chunkX, chunkZ) / 7) % cChunkDef::Width; int z = (m_Noise.IntNoise2DInt(chunkX, chunkZ) / 7) % cChunkDef::Width; - // Check biomes first to get a list of animals + /** Check biomes first to get a list of animals */ switch (a_ChunkDesc.GetBiome(x, z)) { // No animals |