From e610149c0cc3516b61115541f2f4f78344a0bb2c Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 6 Jul 2020 15:50:55 +0200 Subject: Initial Commit --- src/client/content_cao.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/content_cao.cpp') diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 5d719293a..fa2ed43c9 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -793,6 +793,9 @@ void GenericCAO::addToScene(ITextureSource *tsrc) void GenericCAO::updateLight(u8 light_at_pos) { + if (g_settings->getBool("fullbright")) + light_at_pos = 255; + // Don't update light of attached one if (getParent() != NULL) { return; -- cgit v1.2.3