forked from Mirrorlandia_minetest/minetest
Fix flowing liquid spacing; water and lava next to each other will glitch a bit but it isn't as bad as this was
This commit is contained in:
parent
1469196d3b
commit
f5995337e8
@ -593,10 +593,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
|
|||||||
|
|
||||||
// Do this to not cause glitches when two liquids are
|
// Do this to not cause glitches when two liquids are
|
||||||
// side-by-side
|
// side-by-side
|
||||||
if(neighbor_is_same_liquid == false){
|
/*if(neighbor_is_same_liquid == false){
|
||||||
vertices[j].Pos.X *= 0.98;
|
vertices[j].Pos.X *= 0.98;
|
||||||
vertices[j].Pos.Z *= 0.98;
|
vertices[j].Pos.Z *= 0.98;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
vertices[j].Pos += intToFloat(p + blockpos_nodes, BS);
|
vertices[j].Pos += intToFloat(p + blockpos_nodes, BS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user