Skip to content

Commit d4b89eb

Browse files
Wuzzy2sfan5
authored andcommittedOct 22, 2021
Fix no_texture.png activation w/ simple leaves
1 parent a781248 commit d4b89eb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/nodedef.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -809,10 +809,6 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc
809809
TileDef tdef_spec[6];
810810
for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) {
811811
tdef_spec[j] = tiledef_special[j];
812-
if (tdef_spec[j].name.empty()) {
813-
tdef_spec[j].name = "no_texture.png";
814-
tdef_spec[j].backface_culling = false;
815-
}
816812
}
817813

818814
bool is_liquid = false;

0 commit comments

Comments
 (0)
Please sign in to comment.