Petr Mrázek 2012-02-05 19:50:15 +01:00
commit 71b29b67cf
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; loc = loc % 16;
if (showHidden || !b->DesignationAt(loc).bits.hidden) 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_is_shrub(plant.flags.bits.is_shrub);
protoplant->set_material(plant.material); protoplant->set_material(plant.material);
} }