Skip to content

Commit

Permalink
Fix texture rotation for wallmounted nodeboxes
Browse files Browse the repository at this point in the history
fixes #8358
  • Loading branch information
sfan5 committed Mar 19, 2019
1 parent 426bdba commit 5b99abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/mapblock_mesh.cpp
Expand Up @@ -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] =
{
Expand Down

0 comments on commit 5b99abb

Please sign in to comment.