MCPcopy Create free account
hub / github.com/ddnet/ddnet / SelectSound

Method SelectSound

src/game/editor/mapitems/map.cpp:1025–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1023}
1024
1025void CEditorMap::SelectSound(const std::shared_ptr<CEditorSound> &pSound)
1026{
1027 for(size_t i = 0; i < m_vpSounds.size(); ++i)
1028 {
1029 if(m_vpSounds[i] == pSound)
1030 {
1031 m_SelectedSound = i;
1032 break;
1033 }
1034 }
1035}
1036
1037void CEditorMap::SelectNextSound()
1038{

Callers 2

AddSoundMethod · 0.80
ReplaceSoundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected