Skip to content
Snippets Groups Projects
Commit 5c26972c authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix mesh glitches on MapBlock boundaries

parent 117f2088
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,9 @@ void MeshMakeData::fill(MapBlock *block)
// Get map
Map *map = block->getParent();
for(u16 i=0; i<6; i++)
for(u16 i=0; i<26; i++)
{
const v3s16 &dir = g_6dirs[i];
const v3s16 &dir = g_26dirs[i];
v3s16 bp = m_blockpos + dir;
MapBlock *b = map->getBlockNoCreateNoEx(bp);
if(b)
......
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