summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-08 00:45:32 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-08 00:56:26 +0100
commite32a224fe304a532e5743237888664466b968a8b (patch)
treead9d9680ee78a0a9ba8d1fc5e63045c07528f286 /src/Generating/BioGen.cpp
parentadded default fallthrough clause to switch at line 178 of src/UI/Window.cpp (diff)
downloadcuberite-e32a224fe304a532e5743237888664466b968a8b.tar
cuberite-e32a224fe304a532e5743237888664466b968a8b.tar.gz
cuberite-e32a224fe304a532e5743237888664466b968a8b.tar.bz2
cuberite-e32a224fe304a532e5743237888664466b968a8b.tar.lz
cuberite-e32a224fe304a532e5743237888664466b968a8b.tar.xz
cuberite-e32a224fe304a532e5743237888664466b968a8b.tar.zst
cuberite-e32a224fe304a532e5743237888664466b968a8b.zip
Diffstat (limited to 'src/Generating/BioGen.cpp')
-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 a0407a145..98999dee9 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -376,7 +376,6 @@ void cBioGenDistortedVoronoi::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::B
for (int z = 0; z < cChunkDef::Width; z++)
{
- int AbsoluteZ = BaseZ + z;
for (int x = 0; x < cChunkDef::Width; x++)
{
int VoronoiCellValue = m_Voronoi.GetValueAt(DistortX[x][z], DistortZ[x][z]) / 8;
@@ -727,6 +726,7 @@ void cBioGenMultiStepMap::FreezeWaterBiomes(cChunkDef::BiomeMap & a_BiomeMap, co
{
case biRiver: cChunkDef::SetBiome(a_BiomeMap, x, z, biFrozenRiver); break;
case biOcean: cChunkDef::SetBiome(a_BiomeMap, x, z, biFrozenOcean); break;
+ default: break;
}
} // for x
idx += 1;