summaryrefslogtreecommitdiffstats
path: root/source/CompoGen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/CompoGen.cpp')
-rw-r--r--source/CompoGen.cpp9
1 files changed, 5 insertions, 4 deletions
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
}