summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-19 16:07:29 +0200
committerMattes D <github@xoft.cz>2014-10-19 16:07:29 +0200
commit262e6d06aa3ce18eb8f676a0fa659085ef11d9e4 (patch)
tree753f7000aa7efde28ad54687e8b4be7d3b4741a8
parentMountain height gen: Added ditches. (diff)
downloadcuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar.gz
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar.bz2
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar.lz
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar.xz
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.tar.zst
cuberite-262e6d06aa3ce18eb8f676a0fa659085ef11d9e4.zip
-rw-r--r--src/Generating/BioGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp
index f5fe3e980..b9face1f8 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -772,7 +772,7 @@ void cBioGenTwoLevel::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap
int BiomeGroup = m_VoronoiLarge.GetValueAt(DistortX[x][z], DistortZ[x][z], SeedX, SeedZ, MinDist2) / 7;
int BiomeIdx = m_VoronoiSmall.GetValueAt(DistortX[x][z], DistortZ[x][z], SeedX, SeedZ, MinDist2) / 11;
int MinDist1 = (DistortX[x][z] - SeedX) * (DistortX[x][z] - SeedX) + (DistortZ[x][z] - SeedZ) * (DistortZ[x][z] - SeedZ);
- cChunkDef::SetBiome(a_BiomeMap, x, z, SelectBiome(BiomeGroup, BiomeIdx, (MinDist1 < MinDist2 / 4) ? 0 : 1));
+ cChunkDef::SetBiome(a_BiomeMap, x, z, SelectBiome(BiomeGroup, BiomeIdx, (MinDist1 < MinDist2 / 4) ? 1 : 0));
}
}
}