diff options
author | Wuzzy <Wuzzy2@mail.ru> | 2021-10-21 23:01:31 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-10-22 11:01:42 +0200 |
commit | d4b89eb106220f43838b039b13a0e356d366c259 (patch) | |
tree | 4912d18f754acc500cab395f967128d1c5f18cdc | |
parent | a78124831f71a235756ca2321a6422295d67572f (diff) | |
download | minetest-d4b89eb106220f43838b039b13a0e356d366c259.tar.gz minetest-d4b89eb106220f43838b039b13a0e356d366c259.tar.bz2 minetest-d4b89eb106220f43838b039b13a0e356d366c259.zip |
Fix no_texture.png activation w/ simple leaves
-rw-r--r-- | src/nodedef.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp index f0e0024be..6f52b608b 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -809,10 +809,6 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc TileDef tdef_spec[6]; for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) { tdef_spec[j] = tiledef_special[j]; - if (tdef_spec[j].name.empty()) { - tdef_spec[j].name = "no_texture.png"; - tdef_spec[j].backface_culling = false; - } } bool is_liquid = false; |