From: Perttu Ahola Date: Thu, 16 Jun 2011 15:51:23 +0000 (+0300) Subject: Probably fixed the single-MapBlock generator using 1 block lower water height than... X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=1d372b92730b17cacb01400fca2f3dadc5b8d388;p=zefram%2Fminetest%2Fminetest_engine.git Probably fixed the single-MapBlock generator using 1 block lower water height than it should --- 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,