Remove tiles and special_tiles from node definition prototype because otherwise the...
authorPerttu Ahola <celeron55@gmail.com>
Sat, 16 Jun 2012 15:02:26 +0000 (18:02 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 16 Jun 2012 15:02:26 +0000 (18:02 +0300)
builtin/item.lua

index cefc90886b5c919bd69b1eeee956808d0dbf20e3..f85bd7223ee6c4dc043c57b48391008ffe98c9f8 100644 (file)
@@ -362,11 +362,13 @@ minetest.nodedef_default = {
        -- Node properties
        drawtype = "normal",
        visual_scale = 1.0,
-       tiles ={""},
-       special_tiles = {
-               {name="", backface_culling=true},
-               {name="", backface_culling=true},
-       },
+       -- Don't define these because otherwise the old tile_images and
+       -- special_materials wouldn't be read
+       --tiles ={""},
+       --special_tiles = {
+       --      {name="", backface_culling=true},
+       --      {name="", backface_culling=true},
+       --},
        alpha = 255,
        post_effect_color = {a=0, r=0, g=0, b=0},
        paramtype = "none",