aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 10:45:43 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 10:45:43 +0200
commitae2b7f952368174aeac90a5076eadd90ddc7fff3 (patch)
tree7449224394e9ccf7dab8db25d9d637b0b0210d23 /src
parent5344dec760649e356d93a47a56a0c49871ad81de (diff)
downloadminetest-ae2b7f952368174aeac90a5076eadd90ddc7fff3.tar.gz
minetest-ae2b7f952368174aeac90a5076eadd90ddc7fff3.tar.bz2
minetest-ae2b7f952368174aeac90a5076eadd90ddc7fff3.zip
Don't hide players in pitch black (like oerkkis)
Diffstat (limited to 'src')
-rw-r--r--src/content_cao.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index 8d1fcc24e..eed5a8337 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);