Remove tiles and special_tiles from node definition prototype because otherwise the old names can't be used

This commit is contained in:
Perttu Ahola 2012-06-16 18:02:26 +03:00
parent cd0014b24f
commit 2b500d72e5

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