Probably fixed the single-MapBlock generator using 1 block lower water height than it should

master
Perttu Ahola 2011-06-16 18:51:23 +03:00
parent 72e742c24e
commit 1d372b9273
1 changed files with 1 additions and 1 deletions

View File

@ -4109,7 +4109,7 @@ MapBlock * ServerMap::generateBlock(
if(real_y > surface_y) if(real_y > surface_y)
{ {
// If under water level, it's water // If under water level, it's water
if(real_y < WATER_LEVEL) if(real_y <= WATER_LEVEL)
{ {
n.d = water_material; n.d = water_material;
n.setLight(LIGHTBANK_DAY, n.setLight(LIGHTBANK_DAY,