diff options
author | ShadowNinja <shadowninja@minetest.net> | 2021-12-01 18:54:12 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-04-08 14:55:21 +0100 |
commit | 7993909fabce4f796ca67b5a8139936667de25df (patch) | |
tree | 2ff9368e3e370ac00e2ae9d17a08ec68b3e426d1 /src/mapgen/mapgen_flat.cpp | |
parent | 88b21a72f18db6a94e58a8047c4dec6160327e73 (diff) | |
download | minetest-7993909fabce4f796ca67b5a8139936667de25df.tar.gz minetest-7993909fabce4f796ca67b5a8139936667de25df.tar.bz2 minetest-7993909fabce4f796ca67b5a8139936667de25df.zip |
Spacing fixes
Diffstat (limited to 'src/mapgen/mapgen_flat.cpp')
-rw-r--r-- | src/mapgen/mapgen_flat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen/mapgen_flat.cpp b/src/mapgen/mapgen_flat.cpp index 342455029..6b249ea1f 100644 --- a/src/mapgen/mapgen_flat.cpp +++ b/src/mapgen/mapgen_flat.cpp @@ -177,7 +177,7 @@ void MapgenFlatParams::setDefaultSettings(Settings *settings) int MapgenFlat::getSpawnLevelAtPoint(v2s16 p) { s16 stone_level = ground_level; - float n_terrain = + float n_terrain = ((spflags & MGFLAT_LAKES) || (spflags & MGFLAT_HILLS)) ? NoisePerlin2D(&noise_terrain->np, p.X, p.Y, seed) : 0.0f; |