diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-18 00:37:21 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-18 00:37:21 +0100 |
commit | 087d650aed362cbf14fdd50940d69d5dff6c4667 (patch) | |
tree | 4902fdb9e6336a4db41771d0b3374f437117ef70 /src/Generating/FinishGen.cpp | |
parent | It now actualy works. (diff) | |
download | cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar.gz cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar.bz2 cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar.lz cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar.xz cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.tar.zst cuberite-087d650aed362cbf14fdd50940d69d5dff6c4667.zip |
Diffstat (limited to '')
-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 9c98994e2..0b5205c5c 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -93,15 +93,15 @@ void cFinishGenNetherSprinkleFoliage::GenFinish(cChunkDesc & a_ChunkDesc) } NOISE_DATATYPE BlockType = m_Noise.CubicNoise1D((float) (ChunkX * ChunkZ) / (y * 0.1f)); - if (BlockType < 0.10) + if (BlockType < -0.30) { TryPlaceClumb(a_ChunkDesc, PosX, y, PosZ, E_BLOCK_BROWN_MUSHROOM); } - else if (BlockType < -0.09) + else if (BlockType < -0.20) { TryPlaceClumb(a_ChunkDesc, PosX, y, PosZ, E_BLOCK_RED_MUSHROOM); } - else if (BlockType < -0.08) + else if (BlockType < -0.10) { TryPlaceClumb(a_ChunkDesc, PosX, y, PosZ, E_BLOCK_FIRE); } |