| 221 | } |
| 222 | |
| 223 | void CMapSounds::Clear() |
| 224 | { |
| 225 | // unload all samples |
| 226 | m_vSourceQueue.clear(); |
| 227 | for(int i = 0; i < m_Count; i++) |
| 228 | { |
| 229 | Sound()->UnloadSample(m_aSounds[i]); |
| 230 | m_aSounds[i] = -1; |
| 231 | } |
| 232 | m_Count = 0; |
| 233 | } |
| 234 | |
| 235 | void CMapSounds::OnStateChange(int NewState, int OldState) |
| 236 | { |
nothing calls this directly
no test coverage detected