Fixed bug causing minerals below magma sea being reported

develop
PatrikLundell 2019-06-20 15:50:11 +02:00
parent b1a544b99c
commit 488f1cd8a1
1 changed files with 7 additions and 5 deletions

@ -880,6 +880,8 @@ void embark_assist::survey::survey_mid_level_tile(embark_assist::defs::geo_data
}
if (top_z >= bottom_z) {
last_bottom = bottom_z;
mlt->at(i).at(k).minerals[layer->mat_index] = true;
end_check_m = static_cast<uint16_t>(world->raws.inorganics[layer->mat_index]->metal_ore.mat_index.size());