diff options
Diffstat (limited to 'src/game/worldgen.cpp')
-rw-r--r-- | src/game/worldgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/worldgen.cpp b/src/game/worldgen.cpp index 573d03b..62c8a5e 100644 --- a/src/game/worldgen.cpp +++ b/src/game/worldgen.cpp @@ -17,11 +17,11 @@ void worldgen(world::tile_t *tile, world::tile_index_t x, perlin->get(x, 1.0f) * 0.05f; if (height < waterlevel) - tile->type = TILE_WALL; + tile->type = TILE_WATER; else if (height < waterlevel + 0.1) tile->type = TILE_DIRT; else if (perlin->get(x, 3.0f) > 0.0f) - tile->type = TILE_WALL; + tile->type = TILE_STONE; else tile->type = TILE_DIRT; } |