Fixed issue #15: Glass blocks a lot of light
authorPerttu Ahola <celeron55@gmail.com>
Sat, 23 Jul 2011 17:28:05 +0000 (20:28 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 23 Jul 2011 17:28:05 +0000 (20:28 +0300)
src/content_mapnode.cpp

index 146b806ef0a6c1b8a68e2204f3ff262c9a9b672d..db036ebd9a6c9a43e7462a635ee739a66bfd7141 100644 (file)
@@ -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";