summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 22:53:19 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 22:53:19 +0200
commit3e1303823effcff281c608926494a0da6fb92b84 (patch)
treebf35ae81577d798e9c182d4dde3a4f9f11c6ccc6 /source
parentAdded the Biomal composition generator. (diff)
downloadcuberite-3e1303823effcff281c608926494a0da6fb92b84.tar
cuberite-3e1303823effcff281c608926494a0da6fb92b84.tar.gz
cuberite-3e1303823effcff281c608926494a0da6fb92b84.tar.bz2
cuberite-3e1303823effcff281c608926494a0da6fb92b84.tar.lz
cuberite-3e1303823effcff281c608926494a0da6fb92b84.tar.xz
cuberite-3e1303823effcff281c608926494a0da6fb92b84.tar.zst
cuberite-3e1303823effcff281c608926494a0da6fb92b84.zip
Diffstat (limited to 'source')
-rw-r--r--source/CompoGen.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/CompoGen.cpp b/source/CompoGen.cpp
index 7487d223b..712db6dab 100644
--- a/source/CompoGen.cpp
+++ b/source/CompoGen.cpp
@@ -282,10 +282,11 @@ void cCompoGenBiomal::ComposeTerrain(
FillColumnWaterMix(a_ChunkX, a_ChunkZ, x, z, Height, a_BlockTypes);
break;
}
- }
- }
- }
- }
+ } // switch (biome)
+ } // else (under water)
+ cChunkDef::SetBlock(a_BlockTypes, x, 0, z, E_BLOCK_BEDROCK);
+ } // for x
+ } // for z
}