fixed: * Using autoplayer at all results in an 'E' grade.
This commit is contained in:
@@ -352,6 +352,9 @@ ScreenEvaluation::ScreenEvaluation( bool bSummary )
|
||||
if( !GAMESTATE->IsPlayerEnabled(p) )
|
||||
continue;
|
||||
|
||||
if( GAMESTATE->m_bUsedAutoPlayer )
|
||||
continue;
|
||||
|
||||
switch( m_ResultMode )
|
||||
{
|
||||
case RM_ARCADE_STAGE:
|
||||
|
||||
@@ -122,7 +122,7 @@ ScreenGameplay::ScreenGameplay()
|
||||
|
||||
|
||||
|
||||
GAMESTATE->m_bUsedAutoPlayer &= PREFSMAN->m_bAutoPlay;
|
||||
GAMESTATE->m_bUsedAutoPlayer |= PREFSMAN->m_bAutoPlay;
|
||||
m_bChangedOffsetOrBPM = false;
|
||||
|
||||
|
||||
@@ -676,7 +676,7 @@ void ScreenGameplay::Input( const DeviceInput& DeviceI, const InputEventType typ
|
||||
{
|
||||
case DIK_F8:
|
||||
PREFSMAN->m_bAutoPlay = !PREFSMAN->m_bAutoPlay;
|
||||
GAMESTATE->m_bUsedAutoPlayer &= PREFSMAN->m_bAutoPlay;
|
||||
GAMESTATE->m_bUsedAutoPlayer |= PREFSMAN->m_bAutoPlay;
|
||||
m_textDebug.SetText( ssprintf("Autoplayer %s.", (PREFSMAN->m_bAutoPlay ? "ON" : "OFF")) );
|
||||
m_textDebug.SetDiffuseColor( D3DXCOLOR(1,1,1,1) );
|
||||
m_textDebug.StopTweening();
|
||||
|
||||
@@ -47,10 +47,9 @@ SongManager::SongManager( void(*callback)() )
|
||||
|
||||
SongManager::~SongManager()
|
||||
{
|
||||
if( !PREFSMAN->m_bAutoPlay ) // BUG FIX: Stats will no longer save if you're in autoplay mode - Andy.
|
||||
{
|
||||
SaveStatisticsToDisk();
|
||||
}
|
||||
// BUG FIX: Stats will no longer save if you're in autoplay mode - Andy.
|
||||
// BUG BUG FIX: if user used autoplay, the evaluation screen already detects this...
|
||||
SaveStatisticsToDisk();
|
||||
FreeSongArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user