| 116 | } |
| 117 | |
| 118 | void CTerrainSoundDialog::CopyFromControls() { |
| 119 | UpdateData(true); |
| 120 | |
| 121 | m_bands[m_current].low_alt = m_low_alt; |
| 122 | m_bands[m_current].high_alt = m_high_alt; |
| 123 | m_bands[m_current].low_volume = m_low_volume; |
| 124 | m_bands[m_current].high_volume = m_high_volume; |
| 125 | m_bands[m_current].sound_index = m_sound_combo.GetSelected(); |
| 126 | } |
| 127 | |
| 128 | void CTerrainSoundDialog::OnTerrainSoundNext() { |
| 129 | ASSERT(m_current < NUM_TERRAIN_SOUND_BANDS - 1); |
nothing calls this directly
no test coverage detected