summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-28 12:30:16 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-28 12:30:16 +0200
commit5b69b2ce4faf5a14e6ab5d5974b790d2bd751a95 (patch)
treed52c54b5c54f4c13ad41ac380e9bfb7b762345de
parentHotfixed compilation problems. (diff)
downloadcuberite-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
-rw-r--r--src/Generating/DistortedHeightmap.cpp2
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);