Don't hide players in pitch black (like oerkkis)
parent
5344dec760
commit
ae2b7f9523
|
@ -2246,12 +2246,6 @@ public:
|
||||||
if(m_node == NULL)
|
if(m_node == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(light_at_pos <= 2)
|
|
||||||
{
|
|
||||||
m_node->setVisible(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_node->setVisible(true);
|
m_node->setVisible(true);
|
||||||
|
|
||||||
u8 li = decode_light(light_at_pos);
|
u8 li = decode_light(light_at_pos);
|
||||||
|
|
Loading…
Reference in New Issue