1
0
Fork 0
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:
Wuzzy 2020-07-23 19:54:58 +02:00 committed by GitHub
parent 8ca602150d
commit 808fa5ecb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();
}