aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-24 13:32:11 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-24 13:32:11 +0200
commit24e41ab4c892a7cecee2d4e5e625afd83de43034 (patch)
tree077aa79e8618d0c2fd44ebc6ad36b72586a3041e /src/mapblock.cpp
parent4a952f22d779cdce27dbfc68a23a7d13d3e62c0d (diff)
downloadminetest-24e41ab4c892a7cecee2d4e5e625afd83de43034.tar.gz
minetest-24e41ab4c892a7cecee2d4e5e625afd83de43034.tar.bz2
minetest-24e41ab4c892a7cecee2d4e5e625afd83de43034.zip
Mainly some texture tweaking
Diffstat (limited to 'src/mapblock.cpp')
-rw-r--r--src/mapblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapblock.cpp b/src/mapblock.cpp
index f18cb2fdd..620c29fdd 100644
--- a/src/mapblock.cpp
+++ b/src/mapblock.cpp
@@ -268,7 +268,7 @@ void MapBlock::makeFastFace(TileSpec tile, u8 light, v3f p,
if(tile.id == TILE_WATER)
{
- alpha = 128;
+ alpha = WATER_ALPHA;
}
video::SColor c = video::SColor(alpha,li,li,li);
@@ -797,7 +797,7 @@ void MapBlock::updateMesh(u32 daynight_ratio)
}catch(InvalidPositionException &e){}
u8 l = decode_light(n.getLightBlend(daynight_ratio));
- video::SColor c(128,l,l,l);
+ video::SColor c(WATER_ALPHA,l,l,l);
// Neighbor water levels (key = relative position)
// Includes current node