diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-07-23 19:54:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 19:54:58 +0200 |
commit | 808fa5ecb3ddfd5d993000cc6b4c972257e182db (patch) | |
tree | 73c18c4b64c55e8c72ecbe81afce08ab66430e85 /src/client/content_mapblock.cpp | |
parent | 8ca602150d4fdce6dcc63fa13e22aeaac5b927cc (diff) | |
download | minetest-808fa5ecb3ddfd5d993000cc6b4c972257e182db.tar.gz minetest-808fa5ecb3ddfd5d993000cc6b4c972257e182db.tar.bz2 minetest-808fa5ecb3ddfd5d993000cc6b4c972257e182db.zip |
Improve default inventory+wield images of node drawtypes (#9299)
Diffstat (limited to 'src/client/content_mapblock.cpp')
-rw-r--r-- | src/client/content_mapblock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/content_mapblock.cpp b/src/client/content_mapblock.cpp index 3d06584c4..65a85709b 100644 --- a/src/client/content_mapblock.cpp +++ b/src/client/content_mapblock.cpp @@ -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(); } |