aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cao.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-06-01 19:01:47 +0200
committerGitHub <noreply@github.com>2020-06-01 19:01:47 +0200
commita08d18acad345363780f5286300d65b39ea9c9f9 (patch)
tree0929b7f73ea7c781a8c46aeafdd445634b55a443 /src/client/content_cao.h
parentf849917bbe9c5eff51bee0a3125eabed16efb172 (diff)
downloadhax-minetest-server-a08d18acad345363780f5286300d65b39ea9c9f9.tar.gz
hax-minetest-server-a08d18acad345363780f5286300d65b39ea9c9f9.zip
ContentCAO: Update light of all attached entities (#9975)
Diffstat (limited to '')
-rw-r--r--src/client/content_cao.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h
index 8e2a13ea8..7693dd3d2 100644
--- a/src/client/content_cao.h
+++ b/src/client/content_cao.h
@@ -236,9 +236,7 @@ public:
m_visuals_expired = true;
}
- void updateLight(u8 light_at_pos);
-
- void updateLightNoCheck(u8 light_at_pos);
+ void updateLight(u32 day_night_ratio);
void setNodeLight(u8 light);