From 8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 27 May 2012 14:31:00 +0000 Subject: 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 --- source/BioGen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BioGen.h b/source/BioGen.h index 691ab9d90..e510d0867 100644 --- a/source/BioGen.h +++ b/source/BioGen.h @@ -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) { } -- cgit v1.2.3