From 181f1c6ac660618537d5ae22b6a5d26c36f58e93 Mon Sep 17 00:00:00 2001 From: Quietust Date: Tue, 13 Mar 2012 13:15:12 -0500 Subject: [PATCH] Silence warning --- plugins/vdig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)