From d3289c1e17d9e627e2d81fa7ad67c7fdf0dbedee Mon Sep 17 00:00:00 2001 From: zmv7 <72821250+zmv7@users.noreply.github.com> Date: Tue, 9 Aug 2022 17:21:10 +0500 Subject: [PATCH] fullbright(when smoothlighting disabled) --- src/client/mapblock_mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index 82d4e8f9e..0a40ffb8c 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -104,7 +104,7 @@ static u8 getInteriorLight(enum LightBank bank, MapNode n, s32 increment, u8 light = n.getLight(bank, ndef); if (light > 0) light = rangelim(light + increment, 0, LIGHT_SUN); - return decode_light(light); + return 255; } /* @@ -139,7 +139,7 @@ static u8 getFaceLight(enum LightBank bank, MapNode n, MapNode n2, if(light_source > light) light = light_source; - return decode_light(light); + return 255; } /*