summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 16:31:00 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 16:31:00 +0200
commit8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30 (patch)
treef4499f88d7a4d3bccd51e2d09b8dfc60c2a518e3
parentAdded a voronoi biome generator (#180) (diff)
downloadcuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar.gz
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar.bz2
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar.lz
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar.xz
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.tar.zst
cuberite-8fd7274f4c2f098b0dea85f2bb7b0a8e7107fa30.zip
Diffstat (limited to '')
-rw-r--r--source/BioGen.h2
1 files changed, 1 insertions, 1 deletions
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)
{
}