diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2020-06-01 19:01:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 19:01:47 +0200 |
commit | a08d18acad345363780f5286300d65b39ea9c9f9 (patch) | |
tree | 0929b7f73ea7c781a8c46aeafdd445634b55a443 /src/client/content_cao.h | |
parent | f849917bbe9c5eff51bee0a3125eabed16efb172 (diff) | |
download | minetest-a08d18acad345363780f5286300d65b39ea9c9f9.tar.gz minetest-a08d18acad345363780f5286300d65b39ea9c9f9.tar.bz2 minetest-a08d18acad345363780f5286300d65b39ea9c9f9.zip |
ContentCAO: Update light of all attached entities (#9975)
Diffstat (limited to 'src/client/content_cao.h')
-rw-r--r-- | src/client/content_cao.h | 4 |
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); |