summaryrefslogtreecommitdiff
path: root/plugins/prospector.cpp
diff options
context:
space:
mode:
authorQuietust2012-01-24 12:02:12 -0600
committerQuietust2012-01-24 12:02:12 -0600
commit8861e938487a8719a0d57f7c6a865bf6522af94b (patch)
treee0091028eb6abac7b0e773fd948268e3229cd5e0 /plugins/prospector.cpp
parent6d1af090c54d54b6d52b7a29500311738877d4e1 (diff)
downloaddfhack-8861e938487a8719a0d57f7c6a865bf6522af94b.tar.gz
dfhack-8861e938487a8719a0d57f7c6a865bf6522af94b.tar.bz2
dfhack-8861e938487a8719a0d57f7c6a865bf6522af94b.tar.xz
Kill the Vegetation module, replacing it with the same 3 simple methods used in Engravings
Diffstat (limited to 'plugins/prospector.cpp')
-rw-r--r--plugins/prospector.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/prospector.cpp b/plugins/prospector.cpp
index 0fa32c84..861b09d3 100644
--- a/plugins/prospector.cpp
+++ b/plugins/prospector.cpp
@@ -253,11 +253,6 @@ DFhackCExport command_result prospector (DFHack::Core * c, vector <string> & par
matdata tubeTiles;
uint32_t vegCount = 0;
- DFHack::Vegetation *veg = c->getVegetation();
- if (showPlants && !veg->Start())
- {
- con.printerr("Unable to read vegetation; plants won't be listed!\n" );
- }
for(uint32_t z = 0; z < z_max; z++)
{
@@ -489,10 +484,6 @@ DFhackCExport command_result prospector (DFHack::Core * c, vector <string> & par
}
// Cleanup
- if (showPlants)
- {
- veg->Finish();
- }
mats->Finish();
con << std::endl;
return CR_OK;