give up if all human players have 30 misses so that battle will end early

This commit is contained in:
Chris Danford
2005-05-09 14:22:21 +00:00
parent bd5055455b
commit e734e00bcc
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1695,9 +1695,9 @@ bool GameState::AllAreDead() const
return true;
}
bool GameState::AllHaveComboOf30OrMoreMisses() const
bool GameState::AllHumanHaveComboOf30OrMoreMisses() const
{
FOREACH_EnabledPlayer( p )
FOREACH_HumanPlayer( p )
if( STATSMAN->m_CurStageStats.m_player[p].iCurMissCombo < 30 )
return false;
return true;