1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Improve default inventory+wield images of node drawtypes (#9299)

This commit is contained in:
Wuzzy
2020-07-23 19:54:58 +02:00
committed by GitHub
parent 8ca602150d
commit 808fa5ecb3
6 changed files with 126 additions and 104 deletions

View File

@@ -1454,10 +1454,10 @@ void MapblockMeshGenerator::generate()
}
}
void MapblockMeshGenerator::renderSingle(content_t node)
void MapblockMeshGenerator::renderSingle(content_t node, u8 param2)
{
p = {0, 0, 0};
n = MapNode(node, 0xff, 0x00);
n = MapNode(node, 0xff, param2);
f = &nodedef->get(n);
drawNode();
}