From 1d372b92730b17cacb01400fca2f3dadc5b8d388 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 16 Jun 2011 18:51:23 +0300 Subject: [PATCH] Probably fixed the single-MapBlock generator using 1 block lower water height than it should --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index ba361b39..9230d1c1 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -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, -- 2.30.2