| 1014 | } |
| 1015 | |
| 1016 | std::shared_ptr<CEditorSound> CEditorMap::SelectedSound() const |
| 1017 | { |
| 1018 | if(m_SelectedSound < 0 || (size_t)m_SelectedSound >= m_vpSounds.size()) |
| 1019 | { |
| 1020 | return nullptr; |
| 1021 | } |
| 1022 | return m_vpSounds[m_SelectedSound]; |
| 1023 | } |
| 1024 | |
| 1025 | void CEditorMap::SelectSound(const std::shared_ptr<CEditorSound> &pSound) |
| 1026 | { |
no outgoing calls
no test coverage detected