Skip to content

Commit 5b99abb

Browse files
committedMar 19, 2019
Fix texture rotation for wallmounted nodeboxes
fixes #8358
1 parent 426bdba commit 5b99abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/client/mapblock_mesh.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ void getNodeTile(MapNode mn, const v3s16 &p, const v3s16 &dir, MeshMakeData *dat
744744
u8 dir_i = ((dir.X + 2 * dir.Y + 3 * dir.Z) & 7) * 2;
745745

746746
// Get rotation for things like chests
747-
u8 facedir = mn.getFaceDir(ndef);
747+
u8 facedir = mn.getFaceDir(ndef, true);
748748

749749
static const u16 dir_to_tile[24 * 16] =
750750
{

0 commit comments

Comments
 (0)
Please sign in to comment.