From 1d372b92730b17cacb01400fca2f3dadc5b8d388 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 16 Jun 2011 18:51:23 +0300 Subject: 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(-) (limited to 'src') diff --git a/src/map.cpp b/src/map.cpp index ba361b393..9230d1c16 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, -- cgit v1.2.3