Merge pull request #1184 from quietust/develop

update structures
develop
Lethosor 2017-11-23 11:57:41 -05:00 committed by GitHub
commit 9259cb22d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;