projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26582e0
)
Fixed issue #15: Glass blocks a lot of light
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 23 Jul 2011 17:28:05 +0000
(20:28 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 23 Jul 2011 17:28:05 +0000
(20:28 +0300)
src/content_mapnode.cpp
patch
|
blob
|
history
diff --git
a/src/content_mapnode.cpp
b/src/content_mapnode.cpp
index 146b806ef0a6c1b8a68e2204f3ff262c9a9b672d..db036ebd9a6c9a43e7462a635ee739a66bfd7141 100644
(file)
--- a/
src/content_mapnode.cpp
+++ b/
src/content_mapnode.cpp
@@
-272,6
+272,7
@@
void content_mapnode_init()
i = CONTENT_GLASS;
f = &content_features(i);
f->light_propagates = true;
+ f->sunlight_propagates = true;
f->param_type = CPT_LIGHT;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";