Increase the minimum size of the smoothed terrain below the teleporter by one.

This commit is contained in:
Relintai 2022-02-13 18:20:33 +01:00
parent e773393ce9
commit f4c05de692

View File

@ -160,8 +160,8 @@ func spawn_dungeon(chunk: TerrainChunk, dungeon_seed : int, spawn_mobs : bool) -
var vh : int = chunk.get_voxel(vpx, vpz, TerrainChunkDefault.DEFAULT_CHANNEL_ISOLEVEL)
var orx : int = (randi() % 3) + 1
var orz : int = (randi() % 3) + 1
var orx : int = (randi() % 3) + 2
var orz : int = (randi() % 3) + 2
for wx in range(vpx - orx, vpx + orx + 1):
for wz in range(vpz - orz, vpz + orz + 1):