MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / clear

Method clear

scripts/DallasFuncs.cpp:4553–4563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4551CKillRobotList KillRobotList;
4552
4553void CKillRobotList::clear(void) {
4554 tKillRobotListNode *next, *curr = list;
4555
4556 while (curr) {
4557 next = curr->next;
4558 free(curr);
4559 curr = next;
4560 }
4561
4562 list = NULL;
4563}
4564
4565void CKillRobotList::add(tKillObjectItem *data) {
4566 tKillRobotListNode *curr = list;

Callers 2

aDestroyAllRobotsInitFunction · 0.45
aDestroyAllRobotsEndFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected