diff --git a/plugins/vdig.cpp b/plugins/vdig.cpp index a56d95db0..9d96f2fef 100644 --- a/plugins/vdig.cpp +++ b/plugins/vdig.cpp @@ -90,7 +90,7 @@ bool dig (MapExtras::MapCache & MCache, df::tiletype tt = MCache.tiletypeAt(at); df::tile_designation des = MCache.designationAt(at); // could be potentially used to locate hidden constructions? - if(tileMaterial(tt) == df::tiletype_material::CONSTRUCTION && !des.bits.hidden) + if(tileMaterial(tt) == tiletype_material::CONSTRUCTION && !des.bits.hidden) return false; df::tiletype_shape ts = tileShape(tt); if (ts == tiletype_shape::EMPTY)