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

master
Perttu Ahola 2012-06-16 18:02:26 +03:00
parent cd0014b24f
commit 2b500d72e5
1 changed files with 7 additions and 5 deletions

View 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",