| 19 | using df::global::world; |
| 20 | |
| 21 | static df::map_block *getPlantBlock(const df::plant *plant) |
| 22 | { |
| 23 | if (!world) |
| 24 | return nullptr; |
| 25 | return Maps::getTileBlock(Designations::getPlantDesignationTile(plant)); |
| 26 | } |
| 27 | |
| 28 | df::coord Designations::getPlantDesignationTile(const df::plant *plant) |
| 29 | { |
no test coverage detected