Made mapexport build with latest Material changes.

develop
Mike Stewart 2012-01-22 15:47:39 -08:00
parent 0d79fd9b15
commit 031119ac73
2 changed files with 1 additions and 12 deletions

@ -1 +1 @@
Subproject commit 0b23a6e28b72f8383647b317635d9b75a69529e0 Subproject commit 867e7de022af7a5cc623b360ae2b864df395316f

@ -66,17 +66,6 @@ DFhackCExport command_result mapexport (Core * c, std::vector <std::string> & pa
Maps::getSize(x_max, y_max, z_max); Maps::getSize(x_max, y_max, z_max);
MapExtras::MapCache map; MapExtras::MapCache map;
DFHack::Materials *mats = c->getMaterials(); DFHack::Materials *mats = c->getMaterials();
if (!mats->df_inorganic)
{
c->con.printerr("Unable to read inorganic material definitons!\n");
c->Resume();
return CR_FAILURE;
}
if (!mats->df_organic)
{
c->con.printerr("Unable to read organic material definitons!\n");
//showPlants = false;
}
DFHack::Vegetation *veg = c->getVegetation(); DFHack::Vegetation *veg = c->getVegetation();
if (veg->Start()) if (veg->Start())