1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-26 14:30:31 +02:00

Don't hide players in pitch black (like oerkkis)

This commit is contained in:
Perttu Ahola 2011-12-02 10:45:43 +02:00
parent 5344dec760
commit ae2b7f9523

View 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);