MCPcopy Create free account
hub / github.com/DFHack/dfhack / canUnmarkPlant

Method canUnmarkPlant

library/modules/Designations.cpp:110–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110bool Designations::canUnmarkPlant(const df::plant *plant)
111{
112 CHECK_NULL_POINTER(plant);
113
114 if (!getPlantBlock(plant))
115 return false;
116
117 return isPlantMarked(plant);
118}
119
120bool Designations::unmarkPlant(const df::plant *plant)
121{

Callers

nothing calls this directly

Calls 1

getPlantBlockFunction · 0.85

Tested by

no test coverage detected