forked from oerkki/voxelands
oops
This commit is contained in:
parent
9a6fc2e69e
commit
e68f05536a
|
@ -224,6 +224,7 @@ void make_block(BlockMakeData *data)
|
|||
s16 y = mineralrandom.range(node_min.Y+1, node_max.Y-1);
|
||||
s16 z = mineralrandom.range(node_min.Z+1, node_max.Z-1);
|
||||
u8 type = mineralrandom.next()%count;
|
||||
type += start_index;
|
||||
for (u16 i=0; i<27; i++) {
|
||||
v3s16 p = v3s16(x,y,z) + g_27dirs[i];
|
||||
u32 vi = vmanip.m_area.index(p);
|
||||
|
|
Loading…
Reference in New Issue