Frees door index n
| 166 | |
| 167 | // Frees door index n |
| 168 | void FreeDoor(int n) { |
| 169 | ASSERT(Doors[n].used > 0); |
| 170 | |
| 171 | Doors[n].used = 0; |
| 172 | Doors[n].name[0] = 0; |
| 173 | Num_doors--; |
| 174 | } |
| 175 | |
| 176 | // Gets next door from n that has actually been alloced |
| 177 | int GetNextDoor(int n) { |
no outgoing calls
no test coverage detected