summaryrefslogtreecommitdiff
path: root/src/game/worldgen.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-04-22 18:56:15 +0200
committerPaweł Redman <pawel.redman@gmail.com>2018-04-22 18:56:15 +0200
commit05acf2fdf29df7db4f7986763e97e3a5b7b60184 (patch)
tree094bbfadd82a8806c8d5c9827c9ea3ca601cb7fa /src/game/worldgen.cpp
parent30c721089df4235a09829557005b029f9f5a7df1 (diff)
Change the world a bit.
Diffstat (limited to 'src/game/worldgen.cpp')
-rw-r--r--src/game/worldgen.cpp4
1 files changed, 2 insertions, 2 deletions
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;