| 80 | } |
| 81 | |
| 82 | bool Designations::canMarkPlant(const df::plant *plant) |
| 83 | { |
| 84 | CHECK_NULL_POINTER(plant); |
| 85 | |
| 86 | if (!getPlantBlock(plant)) |
| 87 | return false; |
| 88 | |
| 89 | return !isPlantMarked(plant); |
| 90 | } |
| 91 | |
| 92 | bool Designations::markPlant(const df::plant *plant) |
| 93 | { |
nothing calls this directly
no test coverage detected