toggling wheel sections should not end screen

This commit is contained in:
Devin J. Pohly
2015-01-31 10:38:14 -05:00
parent 8cde91eb2e
commit 7f55c82846
+4 -5
View File
@@ -290,7 +290,7 @@ bool WheelBase::Select() // return true if this selection can end the screen
{
case WheelItemDataType_Generic:
m_LastSelection = m_CurWheelItemData[m_iSelection];
break;
return true;
case WheelItemDataType_Section:
{
RString sThisItemSectionName = m_CurWheelItemData[m_iSelection]->m_sText;
@@ -305,12 +305,11 @@ bool WheelBase::Select() // return true if this selection can end the screen
m_soundExpand.Play();
}
}
break;
// Opening/closing sections cannot end the screen
return false;
default:
break;
return true;
}
return true;
}
WheelItemBaseData* WheelBase::GetItem( unsigned int iIndex )