From 3e1303823effcff281c608926494a0da6fb92b84 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 2 Jun 2012 20:53:19 +0000 Subject: Biomal composition gen: added the bedrock layer at the bottom git-svn-id: http://mc-server.googlecode.com/svn/trunk@542 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/CompoGen.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source') 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 } -- cgit v1.2.3