fix ScreenSelectMaster::AnyOptionsArePlayable

This commit is contained in:
Glenn Maynard
2005-03-10 07:56:41 +00:00
parent fb1d893f57
commit 8427c36c20
+3 -2
View File
@@ -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;
} }