diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index 9a8a58ddb0..89cc50ade6 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -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; diff --git a/stepmania/src/GameState.h b/stepmania/src/GameState.h index d4fb90c631..3f3972ea02 100644 --- a/stepmania/src/GameState.h +++ b/stepmania/src/GameState.h @@ -174,7 +174,7 @@ public: bool IsPlayerDead( PlayerNumber pn ) const; bool AllAreInDangerOrWorse() const; bool AllAreDead() const; - bool AllHaveComboOf30OrMoreMisses() const; + bool AllHumanHaveComboOf30OrMoreMisses() const; bool OneIsHot() const; // used in PLAY_MODE_BATTLE and PLAY_MODE_RAVE diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index de3ea9070b..ab5924c1cb 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1594,7 +1594,7 @@ void ScreenGameplay::Update( float fDeltaTime ) // update give up // bool bGiveUpTimerFired = !m_GiveUpTimer.IsZero() && m_GiveUpTimer.Ago() > 2.5f; - if( bGiveUpTimerFired || GAMESTATE->AllHaveComboOf30OrMoreMisses() ) + if( bGiveUpTimerFired || GAMESTATE->AllHumanHaveComboOf30OrMoreMisses() ) { // Give up