aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-16 18:51:23 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-16 18:51:23 +0300
commit1d372b92730b17cacb01400fca2f3dadc5b8d388 (patch)
treee6d22e3d5e4c0fcdb6f97ba7d382fa288c9125f1
parent72e742c24eb70fdf8aacb7d3043b6a1537ca14fb (diff)
downloadminetest-1d372b92730b17cacb01400fca2f3dadc5b8d388.tar.gz
minetest-1d372b92730b17cacb01400fca2f3dadc5b8d388.tar.bz2
minetest-1d372b92730b17cacb01400fca2f3dadc5b8d388.zip
Probably fixed the single-MapBlock generator using 1 block lower water height than it should
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
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,