From: sfan5 Date: Mon, 18 Mar 2019 21:41:39 +0000 (+0100) Subject: Fix texture rotation for wallmounted nodeboxes X-Git-Tag: 5.1.0~265 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5b99abb847e85c5815dc4343d8b95648a5577ecf;p=oweals%2Fminetest.git Fix texture rotation for wallmounted nodeboxes fixes #8358 --- 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] = {