Fixed block-getting so that simulators work again
git-svn-id: http://mc-server.googlecode.com/svn/trunk@301 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -188,6 +188,10 @@ void cWorldGenerator::GenerateTerrain(int a_ChunkX, int a_ChunkY, int a_ChunkZ,
|
||||
{
|
||||
Height = 127 - Lower;
|
||||
}
|
||||
if (Height < -63)
|
||||
{
|
||||
Height = -63;
|
||||
}
|
||||
const int Top = Lower + Height;
|
||||
const float WaveNoise = 1; // m_Noise.CubicNoise2D( xx*0.01f, zz*0.01f ) + 0.5f;
|
||||
for( int y = 1; y < Top; ++y )
|
||||
|
||||
Reference in New Issue
Block a user