From 51f6dbd981862715e7008bd8d07007870cc14b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 26 Apr 2010 00:51:45 +0200 Subject: [PATCH] Fix local features in prospector. --- tools/prospector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/prospector.cpp b/tools/prospector.cpp index 2c5e686e1..73ac9bcd2 100644 --- a/tools/prospector.cpp +++ b/tools/prospector.cpp @@ -231,7 +231,7 @@ int main (int argc, const char* argv[]) if(uint16_t(idx) < vectr.size() && vectr[idx]->type == DFHack::feature_Adamantine_Tube) for(uint32_t xi = 0 ; xi< 16 ; xi++) for(uint32_t yi = 0 ; yi< 16 ; yi++) { - if(Block.designation[xi][yi].bits.feature_global) + if(Block.designation[xi][yi].bits.feature_local && DFHack::isWallTerrain(Block.tiletypes[xi][yi])) { if(vectr[idx]->main_material == 0) // stone {