add biome as table & 'biome_parameters' variable

This commit is contained in:
MihailRis
2024-08-19 17:13:50 +03:00
parent 784712c06a
commit efa27496ab
5 changed files with 81 additions and 40 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ static inline void generate_pole(
uint layerExtension = 0;
for (const auto& layer : layers.layers) {
// skip layer if can't be generated under sea level
if (y < seaLevel && !layer.below_sea_level) {
if (y < seaLevel && !layer.belowSeaLevel) {
layerExtension = std::max(0, layer.height);
continue;
}