diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-28 12:30:16 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-28 12:30:16 +0200 |
commit | 5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95 (patch) | |
tree | d52c54b5c54f4c13ad41ac380e9bfb7b762345de /src/Generating | |
parent | Hotfixed compilation problems. (diff) | |
download | cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar.gz cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar.bz2 cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar.lz cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar.xz cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.tar.zst cuberite-5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/DistortedHeightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/DistortedHeightmap.cpp b/src/Generating/DistortedHeightmap.cpp index 1337896ab..c18c402da 100644 --- a/src/Generating/DistortedHeightmap.cpp +++ b/src/Generating/DistortedHeightmap.cpp @@ -809,7 +809,7 @@ void cDistortedHeightmap::FillColumnPattern(cChunkDesc & a_ChunkDesc, int a_RelX } // Select the ocean-floor pattern to use: - a_Pattern = ChooseOceanFloorPattern(a_RelX, a_RelZ); + a_Pattern = a_ChunkDesc.GetBiome(a_RelX, a_RelZ) == biDeepOcean ? patGravel.Get() : ChooseOceanFloorPattern(a_RelX, a_RelZ); HasHadWater = true; } // for y a_ChunkDesc.SetBlockType(a_RelX, 0, a_RelZ, E_BLOCK_BEDROCK); |