summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-10 16:12:45 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-10 16:12:45 +0100
commit36c100a53ed70c38d304c3d2837940e699e9f2a1 (patch)
tree2d2db860b0a2ca72c76c5a484867036895f83aaa /src
parentFixed chunk borders. (diff)
downloadcuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar.gz
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar.bz2
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar.lz
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar.xz
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.tar.zst
cuberite-36c100a53ed70c38d304c3d2837940e699e9f2a1.zip
Diffstat (limited to 'src')
-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 8d6c918ca..60356fe46 100644
--- a/src/Generating/CompoGen.cpp
+++ b/src/Generating/CompoGen.cpp
@@ -594,7 +594,7 @@ void cCompoGenNether::ComposeTerrain(cChunkDesc & a_ChunkDesc)
{
NOISE_DATATYPE NoiseX = ((NOISE_DATATYPE)(BaseX + x)) / 8;
NOISE_DATATYPE NoiseY = ((NOISE_DATATYPE)(BaseZ + z)) / 8;
- NOISE_DATATYPE CompBlock = m_Noise1.CubicNoise3D(NoiseX, (float) y / 2, NoiseY);
+ NOISE_DATATYPE CompBlock = m_Noise1.CubicNoise3D(NoiseX, (float) (y + Segment) / 2, NoiseY);
if (CompBlock < -0.5)
{
Block = E_BLOCK_SOULSAND;