1
0

Voronoi has a minimum cell size of 4 blocks now, to avoid some extreme corner-cases

git-svn-id: http://mc-server.googlecode.com/svn/trunk@512 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-05-27 14:31:00 +00:00
parent 79fddd3be0
commit 8fd7274f4c

View File

@ -108,7 +108,7 @@ class cBioGenVoronoi :
public:
cBioGenVoronoi(int a_Seed, int a_CellSize, const AString & a_Biomes) :
cBiomeGenList(a_Biomes),
m_CellSize(a_CellSize),
m_CellSize((a_CellSize > 4) ? a_CellSize : 4),
m_Noise(a_Seed)
{
}