|
|
@ -90,7 +90,7 @@ bool dig (MapExtras::MapCache & MCache,
|
|
|
|
df::tiletype tt = MCache.tiletypeAt(at);
|
|
|
|
df::tiletype tt = MCache.tiletypeAt(at);
|
|
|
|
df::tile_designation des = MCache.designationAt(at);
|
|
|
|
df::tile_designation des = MCache.designationAt(at);
|
|
|
|
// could be potentially used to locate hidden constructions?
|
|
|
|
// 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;
|
|
|
|
return false;
|
|
|
|
df::tiletype_shape ts = tileShape(tt);
|
|
|
|
df::tiletype_shape ts = tileShape(tt);
|
|
|
|
if (ts == tiletype_shape::EMPTY)
|
|
|
|
if (ts == tiletype_shape::EMPTY)
|
|
|
|