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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ae2b7f952368174aeac90a5076eadd90ddc7fff3;p=zefram%2Fminetest%2Fminetest_engine.git Don't hide players in pitch black (like oerkkis) --- diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 8d1fcc24..eed5a833 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);