diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-23 20:28:05 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-23 20:28:05 +0300 |
commit | 68a9157b947f9d282384164d678dceb6d1fec9ec (patch) | |
tree | 4123a3069973eaf4092aefa87e5e3130912a2d69 /src | |
parent | 26582e0e664f313fbf7cb963a986e32fc4b23d60 (diff) | |
download | minetest-68a9157b947f9d282384164d678dceb6d1fec9ec.tar.gz minetest-68a9157b947f9d282384164d678dceb6d1fec9ec.tar.bz2 minetest-68a9157b947f9d282384164d678dceb6d1fec9ec.zip |
Fixed issue #15: Glass blocks a lot of light
Diffstat (limited to 'src')
-rw-r--r-- | src/content_mapnode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index 146b806ef..db036ebd9 100644 --- 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"; |