summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Generating/FinishGen.cpp4
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;
}