1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-03 00:20:21 +02:00
This commit is contained in:
Calinou
2012-11-28 11:47:30 +01:00

View File

@ -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)