diff options
Diffstat (limited to 'src/client/content_cso.cpp')
-rw-r--r-- | src/client/content_cso.cpp | 2 |
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; |