summaryrefslogtreecommitdiffstats
path: root/src/Generating/CompoGen.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-27 14:04:34 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-27 14:04:34 +0200
commit3addd4890c8e09a561b93e84b542a2ab08ee0496 (patch)
tree73dcce6eb8c93b7390ada216e0c1ec50b0dffbcb /src/Generating/CompoGen.cpp
parentMade nether ceiling smooth. (diff)
downloadcuberite-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.cpp2
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)
{