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

Function FreeTriggers

Descent3/trigger.cpp:157–164  ·  view source on GitHub ↗

Free up all the triggers

Source from the content-addressed store, hash-verified

155
156// Free up all the triggers
157void FreeTriggers() {
158 int i;
159
160 for (i = 0; i < Num_triggers; i++)
161 FreeTriggerScript(&Triggers[i]);
162
163 Num_triggers = 0;
164}
165
166// Returns a pointer to the trigger attached to the given room:face
167// Generates an error if the trigger cannot be found

Callers 1

LoadLevelFunction · 0.85

Calls 1

FreeTriggerScriptFunction · 0.85

Tested by

no test coverage detected