Player-side Autoplay modifier (allows one player to play normally, while the other is in autoplay mode)
This commit is contained in:
@@ -1113,7 +1113,10 @@ void ScreenGameplay::LoadNextSong()
|
||||
}
|
||||
else
|
||||
{
|
||||
pi->GetPlayerState()->m_PlayerController = GamePreferences::m_AutoPlay;
|
||||
if( pi->GetPlayerState()->m_PlayerOptions.GetCurrent().m_fPlayerAutoPlay != 0 )
|
||||
pi->GetPlayerState()->m_PlayerController = PC_AUTOPLAY;
|
||||
else
|
||||
pi->GetPlayerState()->m_PlayerController = GamePreferences::m_AutoPlay;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2238,7 +2241,7 @@ void ScreenGameplay::Input( const InputEventPlus &input )
|
||||
{
|
||||
AbortGiveUp( true );
|
||||
|
||||
if( GamePreferences::m_AutoPlay == PC_HUMAN )
|
||||
if( GamePreferences::m_AutoPlay == PC_HUMAN && GAMESTATE->m_pPlayerState[PLAYER_1]->m_PlayerOptions.GetCurrent().m_fPlayerAutoPlay == 0 )
|
||||
{
|
||||
PlayerInfo& pi = GetPlayerInfoForInput( input );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user