[MusicWheel, WheelBase] Added collapse sound.

This commit is contained in:
AJ Kelly
2012-03-01 21:35:33 -06:00
parent ce4366e605
commit 02ae959aab
5 changed files with 10 additions and 2 deletions
+6 -2
View File
@@ -283,11 +283,15 @@ bool WheelBase::Select() // return true if this selection can end the screen
{
RString sThisItemSectionName = m_CurWheelItemData[m_iSelection]->m_sText;
if( m_sExpandedSectionName == sThisItemSectionName ) // already expanded
{
SetOpenSection( "" ); // collapse it
m_soundCollapse.Play();
}
else // already collapsed
{
SetOpenSection( sThisItemSectionName ); // expand it
m_soundExpand.Play();
m_soundExpand.Play();
}
}
break;
default: