Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ SelectPreviousSound
Method
SelectPreviousSound
src/game/editor/mapitems/map.cpp:1042–1045 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1040
}
1041
1042
void CEditorMap::SelectPreviousSound()
1043
{
1044
m_SelectedSound = (m_SelectedSound + m_vpSounds.size() - 1) % m_vpSounds.size();
1045
}
1046
1047
bool CEditorMap::IsSoundUsed(int SoundIndex) const
1048
{
Callers
1
RenderSounds
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected