Time to reopen this big 'ol bag of worms.

This commit is contained in:
Ben "root" Anderson
2014-02-02 12:53:26 -06:00
parent 5a761f8613
commit d654bd0142
7 changed files with 103 additions and 45 deletions
+6
View File
@@ -83,6 +83,12 @@ bool ScreenAttract::AttractInput( const InputEventPlus &input, ScreenWithMenuEle
// fall through
case GAME_BUTTON_START:
case GAME_BUTTON_COIN:
// If we're not in a game and there aren't enough credits to start,
// eat the input and do nothing.
if( GAMESTATE->GetCoinMode() == CoinMode_Pay &&
GAMESTATE->m_iCoins < PREFSMAN->m_iCoinsPerCredit &&
GAMESTATE->GetNumSidesJoined() == 0 )
return true;
if( pScreen->IsTransitioning() )
return false;