From 05acf2fdf29df7db4f7986763e97e3a5b7b60184 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 22 Apr 2018 18:56:15 +0200 Subject: Change the world a bit. --- src/game/worldgen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/worldgen.cpp') diff --git a/src/game/worldgen.cpp b/src/game/worldgen.cpp index 7af6315..de47988 100644 --- a/src/game/worldgen.cpp +++ b/src/game/worldgen.cpp @@ -149,9 +149,9 @@ void worldgen(world_t *world, sector_index_t index, sector_t *sector, if (biome < 0.0f) { if (height < waterlevel) tile->type = TILE_WATER; - else if (height < waterlevel + 0.1) + else if (height < waterlevel + 0.12) tile->type = TILE_DIRT; - else if (world->perlin.get(x, 3.0f) > 0.0f) + else if (world->perlin.get(x, 4.0f) > 0.0f) tile->type = TILE_STONE; else tile->type = TILE_DIRT; -- cgit