Closes down the Telcom sound system
| 3299 | |
| 3300 | // Closes down the Telcom sound system |
| 3301 | void TelcomCloseSounds(void) { |
| 3302 | Sound_system.BeginSoundFrame(Telcom_called_from_game); |
| 3303 | for (int i = 0; i < TCSND_SOUNDCOUNT; i++) { |
| 3304 | if (TelcomSounds[i].hlhandle != -1) { |
| 3305 | Sound_system.StopSoundImmediate(TelcomSounds[i].hlhandle); |
| 3306 | } |
| 3307 | } |
| 3308 | Sound_system.EndSoundFrame(); |
| 3309 | } |
| 3310 | |
| 3311 | // Starts a sound playing (if it isn't already) |
| 3312 | void TelcomStartSound(int sid) { |
no test coverage detected