Fix mapblock geometry optimisation not working

Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type
This commit is contained in:
ROllerozxa 2022-05-07 19:41:11 +02:00 committed by sfan5
parent 6f0c966877
commit f128f4cba1

@ -263,7 +263,6 @@ struct TileLayer
bool isTransparent() const
{
switch (material_type) {
case TILE_MATERIAL_BASIC:
case TILE_MATERIAL_ALPHA:
case TILE_MATERIAL_LIQUID_TRANSPARENT:
case TILE_MATERIAL_WAVING_LIQUID_TRANSPARENT: