projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e742c
)
Probably fixed the single-MapBlock generator using 1 block lower water height than...
author
Perttu Ahola
<celeron55@gmail.com>
Thu, 16 Jun 2011 15:51:23 +0000
(18:51 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Thu, 16 Jun 2011 15:51:23 +0000
(18:51 +0300)
src/map.cpp
patch
|
blob
|
history
diff --git
a/src/map.cpp
b/src/map.cpp
index ba361b393f8e3267c7e32dfbf4cbfb2f5d336cc5..9230d1c16c543b82734c237a64d6d27ec7e68291 100644
(file)
--- 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,