Fixed mapexport's plant saving.

develop
Mike Stewart 2012-02-04 23:51:26 -08:00
parent b9020a70a9
commit 6ac50fccbd
1 changed files with 33 additions and 31 deletions

@ -265,6 +265,8 @@ DFhackCExport command_result mapexport (Core * c, std::vector <std::string> & pa
loc = loc % 16;
if (showHidden || !b->DesignationAt(loc).bits.hidden)
{
protoplant->set_x(loc.x);
protoplant->set_y(loc.y);
protoplant->set_is_shrub(plant.flags.bits.is_shrub);
protoplant->set_material(plant.material);
}