summaryrefslogtreecommitdiff
path: root/plugins/mapexport
diff options
context:
space:
mode:
authorMike Stewart2012-01-22 15:47:39 -0800
committerMike Stewart2012-01-22 15:47:39 -0800
commit031119ac7373d03b4e5cff7bd22e405ee61a7182 (patch)
treeb78461fca869ca4fcf287d50071d7ed70170cb12 /plugins/mapexport
parent0d79fd9b152205cafc92a193d4d6603304e9fbc7 (diff)
downloaddfhack-031119ac7373d03b4e5cff7bd22e405ee61a7182.tar.gz
dfhack-031119ac7373d03b4e5cff7bd22e405ee61a7182.tar.bz2
dfhack-031119ac7373d03b4e5cff7bd22e405ee61a7182.tar.xz
Made mapexport build with latest Material changes.
Diffstat (limited to 'plugins/mapexport')
-rw-r--r--plugins/mapexport/mapexport.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/mapexport/mapexport.cpp b/plugins/mapexport/mapexport.cpp
index 90777c2e..576a6f98 100644
--- a/plugins/mapexport/mapexport.cpp
+++ b/plugins/mapexport/mapexport.cpp
@@ -66,17 +66,6 @@ DFhackCExport command_result mapexport (Core * c, std::vector <std::string> & pa
Maps::getSize(x_max, y_max, z_max);
MapExtras::MapCache map;
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();
if (veg->Start())