diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2015-03-01 20:08:05 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2015-03-01 20:08:05 +0100 |
commit | 3d3735a37864b3abf416ec5f9ae962f68392589d (patch) | |
tree | 32a69438d5a632c0fcb91e4197499dd24b0fd85e /src/Generating | |
parent | Replaced cFinishGenPtr with std::make_shared (diff) | |
download | cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar.gz cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar.bz2 cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar.lz cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar.xz cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.tar.zst cuberite-3d3735a37864b3abf416ec5f9ae962f68392589d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/FinishGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 8790ac0e8..260253d62 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -281,7 +281,7 @@ void cFinishGenVines::GenFinish(cChunkDesc & a_ChunkDesc) continue; } - if (m_Noise.IntNoise2D(xx, zz) < 0.5) + if ((m_Noise.IntNoise2DInt(xx, zz) % 101) < 50) { continue; } @@ -295,7 +295,7 @@ void cFinishGenVines::GenFinish(cChunkDesc & a_ChunkDesc) continue; } - if (m_Noise.IntNoise3D(xx, y, zz) < 0.5) + if ((m_Noise.IntNoise3DInt(xx, y, zz) % 101) < 50) { continue; } |