mirror of
https://github.com/minetest/minetest.git
synced 2024-12-15 10:49:22 +01:00
parent
57e0f52aaa
commit
538a7b12bd
@ -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;
|
u8 dir_i = ((dir.X + 2 * dir.Y + 3 * dir.Z) & 7) * 2;
|
||||||
|
|
||||||
// Get rotation for things like chests
|
// 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] =
|
static const u16 dir_to_tile[24 * 16] =
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user