aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.cpp
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-07-06 15:50:55 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-07-06 15:50:55 +0200
commite610149c0cc3516b61115541f2f4f78344a0bb2c (patch)
treeb1205a15af51db02c9301f4ab8ecdd7527d13c10 /src/client/content_cao.cpp
parenta87805a9445f280ca71da322c4b32cf357744511 (diff)
downloaddragonfireclient-e610149c0cc3516b61115541f2f4f78344a0bb2c.tar.xz
Initial Commit
Diffstat (limited to 'src/client/content_cao.cpp')
-rw-r--r--src/client/content_cao.cpp3
1 files changed, 3 insertions, 0 deletions
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;