| 106 | } |
| 107 | |
| 108 | void CTerrainSoundDialog::CopyToControls() { |
| 109 | m_low_alt = m_bands[m_current].low_alt; |
| 110 | m_high_alt = m_bands[m_current].high_alt; |
| 111 | m_low_volume = m_bands[m_current].low_volume; |
| 112 | m_high_volume = m_bands[m_current].high_volume; |
| 113 | m_sound_combo.SetSelected(m_bands[m_current].sound_index); |
| 114 | |
| 115 | UpdateData(false); |
| 116 | } |
| 117 | |
| 118 | void CTerrainSoundDialog::CopyFromControls() { |
| 119 | UpdateData(true); |
nothing calls this directly
no test coverage detected