From: Perttu Ahola Date: Fri, 2 Dec 2011 08:45:43 +0000 (+0200) Subject: Don't hide players in pitch black (like oerkkis) X-Git-Tag: 0.4.dev-20111202-1~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae2b7f952368174aeac90a5076eadd90ddc7fff3;p=oweals%2Fminetest.git Don't hide players in pitch black (like oerkkis) --- diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 8d1fcc24e..eed5a8337 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -2246,12 +2246,6 @@ public: if(m_node == NULL) return; - if(light_at_pos <= 2) - { - m_node->setVisible(false); - return; - } - m_node->setVisible(true); u8 li = decode_light(light_at_pos);