Fix texture rotation for wallmounted nodeboxes

fixes #8358
This commit is contained in:
sfan5 2019-03-18 22:41:39 +01:00
parent 426bdba7fb
commit 5b99abb847
1 changed files with 1 additions and 1 deletions

View File

@ -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] =
{