aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-03-18 22:41:39 +0100
committersfan5 <sfan5@live.de>2019-03-19 22:36:51 +0100
commit5b99abb847e85c5815dc4343d8b95648a5577ecf (patch)
tree6225bdf6163f83591edf098a738c0536aa3ed586 /src/client
parent426bdba7fb90ce97b8bbdf102d770c4e8a27d8c1 (diff)
downloadminetest-5b99abb847e85c5815dc4343d8b95648a5577ecf.tar.gz
minetest-5b99abb847e85c5815dc4343d8b95648a5577ecf.tar.bz2
minetest-5b99abb847e85c5815dc4343d8b95648a5577ecf.zip
Fix texture rotation for wallmounted nodeboxes
fixes #8358
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mapblock_mesh.cpp2
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] =
{