Fix local features in prospector.

develop
Petr Mrázek 2010-04-26 00:51:45 +02:00
parent d03cb827f3
commit 51f6dbd981
1 changed files with 1 additions and 1 deletions

@ -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
{