diff options
Diffstat (limited to 'src/mapgen_v5.cpp')
-rw-r--r-- | src/mapgen_v5.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp index 2cfb065f9..d7e9d6664 100644 --- a/src/mapgen_v5.cpp +++ b/src/mapgen_v5.cpp @@ -156,9 +156,9 @@ int MapgenV5::getSpawnLevelAtPoint(v2s16 p) if (n_ground * f > y - h) { // If solid if (y < water_level || y > max_spawn_y) return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point - else - // y + 2 because y is surface and due to biome 'dust' nodes. - return y + 2; + + // y + 2 because y is surface and due to biome 'dust' nodes. + return y + 2; } } // Unsuitable spawn position, no ground found |