diff options
author | sfan5 <sfan5@live.de> | 2019-03-18 22:41:39 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-03-19 22:37:11 +0100 |
commit | 538a7b12bd0c5c10e0ef16dde363f16eb447c101 (patch) | |
tree | e8d0c958c83c7dc679bf78282c35d45785c17194 | |
parent | 57e0f52aaad7a0dc7738cfa20cfc304294f41e93 (diff) | |
download | minetest-538a7b12bd0c5c10e0ef16dde363f16eb447c101.tar.gz minetest-538a7b12bd0c5c10e0ef16dde363f16eb447c101.tar.bz2 minetest-538a7b12bd0c5c10e0ef16dde363f16eb447c101.zip |
Fix texture rotation for wallmounted nodeboxes
fixes #8358
-rw-r--r-- | src/client/mapblock_mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index ed8a073de..6b5ba9f9d 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -744,7 +744,7 @@ void getNodeTile(MapNode mn, const v3s16 &p, const v3s16 &dir, MeshMakeData *dat u8 dir_i = ((dir.X + 2 * dir.Y + 3 * dir.Z) & 7) * 2; // Get rotation for things like chests - u8 facedir = mn.getFaceDir(ndef); + u8 facedir = mn.getFaceDir(ndef, true); static const u16 dir_to_tile[24 * 16] = { |