From 6b35c64658f250c0b3157aa238d1cc2a03ba6160 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 5 May 2013 16:33:58 +0000 Subject: [PATCH] Fixed Biomal CompoGen to set heightmap correctly when underwater git-svn-id: http://mc-server.googlecode.com/svn/trunk@1446 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Generating/CompoGen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Generating/CompoGen.cpp b/source/Generating/CompoGen.cpp index dbccc9e6..7fad3865 100644 --- a/source/Generating/CompoGen.cpp +++ b/source/Generating/CompoGen.cpp @@ -274,6 +274,7 @@ void cCompoGenBiomal::ComposeTerrain(cChunkDesc & a_ChunkDesc) break; } } // switch (biome) + a_ChunkDesc.SetHeight(x, z, m_SeaLevel + 1); } // else (under water) a_ChunkDesc.SetBlockType(x, 0, z, E_BLOCK_BEDROCK); } // for x