fix ScreenSelectMaster::AnyOptionsArePlayable
This commit is contained in:
@@ -353,9 +353,10 @@ void ScreenSelectMaster::UpdateSelectableChoices()
|
|||||||
|
|
||||||
bool ScreenSelectMaster::AnyOptionsArePlayable() const
|
bool ScreenSelectMaster::AnyOptionsArePlayable() const
|
||||||
{
|
{
|
||||||
FOREACH_HumanPlayer( p )
|
for( unsigned i = 0; i < m_aGameCommands.size(); ++i )
|
||||||
if( m_aGameCommands[m_iChoice[p]].IsPlayable() )
|
if( m_aGameCommands[i].IsPlayable() )
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user