Free up all the triggers
| 155 | |
| 156 | // Free up all the triggers |
| 157 | void 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 |
no test coverage detected