1
0

Replaced IntNoiseXX with IntNoiseXXInt

This commit is contained in:
STRWarrior 2015-03-01 20:08:05 +01:00
parent e63f9bdc1a
commit 3d3735a378

View File

@ -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;
}