summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
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)
{
}