unneeded special case
This commit is contained in:
@@ -745,9 +745,6 @@ void OptionRow::SetOptionIcon( PlayerNumber pn, const CString &sText, GameComman
|
|||||||
|
|
||||||
BitmapText &OptionRow::GetTextItemForRow( PlayerNumber pn, int iChoiceOnRow )
|
BitmapText &OptionRow::GetTextItemForRow( PlayerNumber pn, int iChoiceOnRow )
|
||||||
{
|
{
|
||||||
if( m_RowType == OptionRow::RowType_Exit )
|
|
||||||
return *m_textItems[0];
|
|
||||||
|
|
||||||
bool bOneChoice = m_RowDef.m_bOneChoiceForAllPlayers;
|
bool bOneChoice = m_RowDef.m_bOneChoiceForAllPlayers;
|
||||||
int index = -1;
|
int index = -1;
|
||||||
switch( m_RowDef.m_layoutType )
|
switch( m_RowDef.m_layoutType )
|
||||||
|
|||||||
Reference in New Issue
Block a user