aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-16 18:02:26 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-16 18:02:26 +0300
commit2b500d72e5bcf30bb960c2878918c0105219e450 (patch)
treed72c246f4b48a668eb5aee5c0403f85c74a3333b
parentcd0014b24f91ad2a2fff29d27742781430c16c65 (diff)
downloadminetest-2b500d72e5bcf30bb960c2878918c0105219e450.tar.gz
minetest-2b500d72e5bcf30bb960c2878918c0105219e450.tar.bz2
minetest-2b500d72e5bcf30bb960c2878918c0105219e450.zip
Remove tiles and special_tiles from node definition prototype because otherwise the old names can't be used
-rw-r--r--builtin/item.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/builtin/item.lua b/builtin/item.lua
index cefc90886..f85bd7223 100644
--- a/builtin/item.lua
+++ b/builtin/item.lua
@@ -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",