mirror of
https://github.com/minetest/minetest.git
synced 2024-11-05 07:13:46 +01:00
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
This commit is contained in:
parent
72e742c24e
commit
1d372b9273
@ -4109,7 +4109,7 @@ MapBlock * ServerMap::generateBlock(
|
||||
if(real_y > surface_y)
|
||||
{
|
||||
// If under water level, it's water
|
||||
if(real_y < WATER_LEVEL)
|
||||
if(real_y <= WATER_LEVEL)
|
||||
{
|
||||
n.d = water_material;
|
||||
n.setLight(LIGHTBANK_DAY,
|
||||
|
Loading…
Reference in New Issue
Block a user