Don't hide players in pitch black (like oerkkis)
authorPerttu Ahola <celeron55@gmail.com>
Fri, 2 Dec 2011 08:45:43 +0000 (10:45 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Fri, 2 Dec 2011 08:45:43 +0000 (10:45 +0200)
src/content_cao.cpp

index 8d1fcc24efec65bd8e80ba5d29fcdadd7de098d3..eed5a8337ed1855a72f83cfc849ed6fe4f289d40 100644 (file)
@@ -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);