mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Don't hide players in pitch black (like oerkkis)
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user