summaryrefslogtreecommitdiff
path: root/src/mapgen_carpathian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_carpathian.cpp')
-rw-r--r--src/mapgen_carpathian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen_carpathian.cpp b/src/mapgen_carpathian.cpp
index 6a9daf759..c6ca1de20 100644
--- a/src/mapgen_carpathian.cpp
+++ b/src/mapgen_carpathian.cpp
@@ -300,8 +300,8 @@ int MapgenCarpathian::getSpawnLevelAtPoint(v2s16 p)
s16 level_at_point = terrainLevelAtPoint(p.X, p.Y);
if (level_at_point <= water_level || level_at_point > water_level + 32)
return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point
- else
- return level_at_point;
+
+ return level_at_point;
}