MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / addChild

Method addChild

Source/engine/path.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 void addChild(uint16_t childIndex)
41 {
42 size_t index = 0;
43 for (; index < MaxChildren; ++index) {
44 if (childIndices[index] == InvalidIndex)
45 break;
46 }
47 assert(index < MaxChildren);
48 childIndices[index] = childIndex;
49 }
50};
51
52PathNode PathNodes[MaxPathNodes];

Callers 1

ParentPathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected