Skip to content
Permalink
Browse files
Fix texture rotation for wallmounted nodeboxes
fixes #8358
  • Loading branch information
sfan5 committed Mar 19, 2019
1 parent 426bdba commit 5b99abb847e85c5815dc4343d8b95648a5577ecf
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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] =
{

0 comments on commit 5b99abb

Please sign in to comment.