summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,