projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5344dec
)
Don't hide players in pitch black (like oerkkis)
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 2 Dec 2011 08:45:43 +0000
(10:45 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Fri, 2 Dec 2011 08:45:43 +0000
(10:45 +0200)
src/content_cao.cpp
patch
|
blob
|
history
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index 8d1fcc24efec65bd8e80ba5d29fcdadd7de098d3..eed5a8337ed1855a72f83cfc849ed6fe4f289d40 100644
(file)
--- 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);