mirror of
https://github.com/minetest/minetest.git
synced 2024-12-28 00:47:29 +01:00
Mgvalleys: Correct spawn problems
Increase maximum spawn altitude to reduce spawn issues.
This commit is contained in:
parent
48a718e715
commit
af714c7ade
@ -536,7 +536,7 @@ int MapgenValleys::getSpawnLevelAtPoint(v2s16 p)
|
||||
|
||||
s16 level_at_point = terrainLevelAtPoint(p.X, p.Y);
|
||||
if (level_at_point <= water_level ||
|
||||
level_at_point > water_level + 16)
|
||||
level_at_point > water_level + 32)
|
||||
return MAX_MAP_GENERATION_LIMIT; // Unsuitable spawn point
|
||||
else
|
||||
return level_at_point;
|
||||
|
Loading…
Reference in New Issue
Block a user