mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix no_texture.png activation w/ simple leaves
This commit is contained in:
parent
a78124831f
commit
d4b89eb106
1 changed files with 0 additions and 4 deletions
|
@ -809,10 +809,6 @@ void ContentFeatures::updateTextures(ITextureSource *tsrc, IShaderSource *shdsrc
|
||||||
TileDef tdef_spec[6];
|
TileDef tdef_spec[6];
|
||||||
for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) {
|
for (u32 j = 0; j < CF_SPECIAL_COUNT; j++) {
|
||||||
tdef_spec[j] = tiledef_special[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;
|
bool is_liquid = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue