MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / killTree

Function killTree

src/OpenLoco/src/Map/TreeElement.cpp:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 static void killTree(TreeElement& elTree)
127 {
128 if (!SceneManager::isEditorMode())
129 {
130 elTree.setIsDying(true);
131 }
132 }
133
134 static void invalidateTree(TreeElement& elTree, const World::Pos2 loc)
135 {

Callers 1

updateTreeElementFunction · 0.85

Calls 2

isEditorModeFunction · 0.85
setIsDyingMethod · 0.80

Tested by

no test coverage detected