Frees sound index n
| 504 | |
| 505 | // Frees sound index n |
| 506 | void FreeSound(int n) { |
| 507 | ASSERT(Sounds[n].used > 0); |
| 508 | |
| 509 | Sounds[n].used = 0; |
| 510 | Sounds[n].name[0] = 0; |
| 511 | Sounds[n].flags = 0; |
| 512 | Num_sounds--; |
| 513 | } |
| 514 | |
| 515 | // Gets next sound from n that has actually been alloced |
| 516 | int GetNextSound(int n) { |
no outgoing calls
no test coverage detected