Modularize coin logic
This commit is contained in:
@@ -261,9 +261,12 @@ bool GameState::IsPlayable( const ModeChoice& mc )
|
||||
|
||||
bool GameState::IsPlayerEnabled( PlayerNumber pn )
|
||||
{
|
||||
if( m_CurStyle == STYLE_INVALID ) // if no style set (we're in TitleMenu, ConfigInstruments or something)
|
||||
if( GAMESTATE->m_bIsOnSystemMenu ) // if no style set (we're in TitleMenu, ConfigInstruments or something)
|
||||
return true; // allow input from both sides
|
||||
|
||||
if( m_CurStyle == STYLE_INVALID )
|
||||
return m_bSideIsJoined[pn];
|
||||
|
||||
switch( GetCurrentStyleDef()->m_StyleType )
|
||||
{
|
||||
case StyleDef::TWO_PLAYERS_TWO_CREDITS:
|
||||
|
||||
Reference in New Issue
Block a user