aboutsummaryrefslogtreecommitdiff
path: root/src/client/content_cso.cpp
diff options
context:
space:
mode:
authorJozef Behran <jozuejozef@gmail.com>2019-08-10 19:45:44 +0200
committersfan5 <sfan5@live.de>2019-08-10 19:45:44 +0200
commit86d7f84b899a507e979f1845f2057cce6f84e743 (patch)
treeec2d965d61bd639fe879f971b98e30bccab63b52 /src/client/content_cso.cpp
parent291e7730cf24ba5081f10b5ddbf2494951333827 (diff)
downloadminetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.gz
minetest-86d7f84b899a507e979f1845f2057cce6f84e743.tar.bz2
minetest-86d7f84b899a507e979f1845f2057cce6f84e743.zip
Merge pull request #8776 from osjc/FixGetNode
Finish getNode cleanup
Diffstat (limited to 'src/client/content_cso.cpp')
-rw-r--r--src/client/content_cso.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/content_cso.cpp b/src/client/content_cso.cpp
index 04c503f44..f9641afbe 100644
--- a/src/client/content_cso.cpp
+++ b/src/client/content_cso.cpp
@@ -48,7 +48,7 @@ public:
/* Update brightness */
u8 light;
bool pos_ok;
- MapNode n = env->getMap().getNodeNoEx(floatToInt(pos, BS), &pos_ok);
+ MapNode n = env->getMap().getNode(floatToInt(pos, BS), &pos_ok);
light = pos_ok ? decode_light(n.getLightBlend(env->getDayNightRatio(),
env->getGameDef()->ndef()))
: 64;