Skip to content
Snippets Groups Projects
Commit 3c8e3721 authored by Zeno-'s avatar Zeno-
Browse files

Removed superfluous facedir check in mapblock_mesh.cpp

parent 2ab97a78
No related branches found
No related tags found
No related merge requests found
......@@ -693,8 +693,7 @@ TileSpec getNodeTile(MapNode mn, v3s16 p, v3s16 dir, MeshMakeData *data)
// Get rotation for things like chests
u8 facedir = mn.getFaceDir(ndef);
if (facedir > 23)
facedir = 0;
static const u16 dir_to_tile[24 * 16] =
{
// 0 +X +Y +Z -Z -Y -X -> value=tile,rotation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment