summaryrefslogtreecommitdiffstats
path: root/source/Generating/CompoGen.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:33:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:33:58 +0200
commit6b35c64658f250c0b3157aa238d1cc2a03ba6160 (patch)
tree8c9532398c4f2a563265915f9fc9ccda3db2394e /source/Generating/CompoGen.cpp
parentAdded the DistortedHeightmap height and composition generator. (diff)
downloadcuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar.gz
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar.bz2
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar.lz
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar.xz
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.tar.zst
cuberite-6b35c64658f250c0b3157aa238d1cc2a03ba6160.zip
Diffstat (limited to 'source/Generating/CompoGen.cpp')
-rw-r--r--source/Generating/CompoGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Generating/CompoGen.cpp b/source/Generating/CompoGen.cpp
index dbccc9e6d..7fad38656 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