mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Improve default inventory+wield images of node drawtypes (#9299)
This commit is contained in:
parent
8ca602150d
commit
808fa5ecb3
6 changed files with 126 additions and 104 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue