aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/content_mapblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp
index a9abbceeb..b46fde5e3 100644
--- a/src/client/content_mapblock.cpp
+++ b/src/client/content_mapblock.cpp
@@ -1131,7 +1131,7 @@ void MapblockMeshGenerator::drawPlantlikeRootedNode()
getSmoothLightFrame();
} else {
MapNode ntop = data->m_vmanip.getNodeNoEx(blockpos_nodes + p);
- light = LightPair(getInteriorLight(ntop, 1, nodedef));
+ light = LightPair(getInteriorLight(ntop, 0, nodedef));
}
drawPlantlike(true);
p.Y--;
@@ -1594,7 +1594,7 @@ void MapblockMeshGenerator::drawNode()
if (data->m_smooth_lighting)
getSmoothLightFrame();
else
- light = LightPair(getInteriorLight(n, 1, nodedef));
+ light = LightPair(getInteriorLight(n, 0, nodedef));
switch (f->drawtype) {
case NDT_FLOWINGLIQUID: drawLiquidNode(); break;
case NDT_GLASSLIKE: drawGlasslikeNode(); break;