diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-27 14:04:34 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-27 14:04:34 +0200 |
commit | 3addd4890c8e09a561b93e84b542a2ab08ee0496 (patch) | |
tree | 73dcce6eb8c93b7390ada216e0c1ec50b0dffbcb /src/Generating/CompoGen.cpp | |
parent | Made nether ceiling smooth. (diff) | |
download | cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar.gz cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar.bz2 cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar.lz cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar.xz cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.tar.zst cuberite-3addd4890c8e09a561b93e84b542a2ab08ee0496.zip |
Diffstat (limited to 'src/Generating/CompoGen.cpp')
-rw-r--r-- | src/Generating/CompoGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompoGen.cpp b/src/Generating/CompoGen.cpp index 87557afa0..912d74248 100644 --- a/src/Generating/CompoGen.cpp +++ b/src/Generating/CompoGen.cpp @@ -631,7 +631,7 @@ void cCompoGenNether::ComposeTerrain(cChunkDesc & a_ChunkDesc) int Height = a_ChunkDesc.GetHeight(x, z); a_ChunkDesc.SetBlockType(x, Height, z, E_BLOCK_BEDROCK); - // int CeilingDisguiseHeight = Height - 2 - (m_Noise1.IntNoise2DInt(a_ChunkDesc.GetChunkX() * cChunkDef::Width + x, a_ChunkDesc.GetChunkZ() * cChunkDef::Width + z) % 3); + NOISE_DATATYPE CeilingDisguise = (m_Noise1.CubicNoise2D((float)(a_ChunkDesc.GetChunkX() * cChunkDef::Width + x) / 10, (float)(a_ChunkDesc.GetChunkZ() * cChunkDef::Width + z) / 10)); if (CeilingDisguise < 0) { |