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

Function destroyBurrowMask

library/modules/Burrows.cpp:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144static void destroyBurrowMask(df::block_burrow *mask)
145{
146 if (!mask) return;
147
148 auto link = mask->link;
149
150 link->prev->next = link->next;
151 if (link->next)
152 link->next->prev = link->prev;
153 delete link;
154
155 delete mask;
156}
157
158void Burrows::clearTiles(df::burrow *burrow)
159{

Callers 2

clearTilesMethod · 0.85
deleteBlockMaskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected