diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-02 22:53:19 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-02 22:53:19 +0200 |
commit | 3e1303823effcff281c608926494a0da6fb92b84 (patch) | |
tree | bf35ae81577d798e9c182d4dde3a4f9f11c6ccc6 /source/CompoGen.cpp | |
parent | Added the Biomal composition generator. (diff) | |
download | cuberite-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/CompoGen.cpp')
-rw-r--r-- | source/CompoGen.cpp | 9 |
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
}
|