update structures

develop
Quietust 2017-11-04 07:50:47 -06:00
parent c080da3750
commit 33a43c5bfd
4 changed files with 4 additions and 4 deletions

@ -91,7 +91,7 @@ const char * DFHack::sa_feature(df::feature_type index)
return "Cavern";
case feature_type::magma_core_from_layer:
return "Magma sea";
case feature_type::feature_underworld_from_layer:
case feature_type::underworld_from_layer:
return "Underworld";
default:
return "Unknown/Error";

@ -1 +1 @@
Subproject commit 3322beb2e7f4b28ff8e573e9bec738c77026b8e9
Subproject commit 888f24622990c11db5c392f5e241e0de28d2bb9e

@ -721,7 +721,7 @@ command_result prospector (color_ostream &con, vector <string> & parameters)
}
if (showSlade && blockFeatureGlobal.type != -1 && des.bits.feature_global
&& blockFeatureGlobal.type == feature_type::feature_underworld_from_layer
&& blockFeatureGlobal.type == feature_type::underworld_from_layer
&& blockFeatureGlobal.main_material == 0) // stone
{
layerMats[blockFeatureGlobal.sub_material].add(global_z);

@ -44,7 +44,7 @@ bool isSafe(df::coord c)
if (local_feature.type == feature_type::deep_special_tube || local_feature.type == feature_type::deep_surface_portal)
return false;
// And Hell *is* Hell.
if (global_feature.type == feature_type::feature_underworld_from_layer)
if (global_feature.type == feature_type::underworld_from_layer)
return false;
// otherwise it's safe.
return true;