This commit is contained in:
Glenn Maynard
2005-02-07 04:43:39 +00:00
parent 1905fc9a22
commit c9021889e9
2 changed files with 4 additions and 9 deletions
+1 -9
View File
@@ -749,15 +749,7 @@ void Player::Step( int col, const RageTimer &tm )
case PC_CPU:
case PC_AUTOPLAY:
switch( m_pPlayerState->m_PlayerController )
{
case PC_CPU:
score = PlayerAI::GetTapNoteScore( m_pPlayerState );
break;
case PC_AUTOPLAY:
score = TNS_MARVELOUS;
break;
}
score = PlayerAI::GetTapNoteScore( m_pPlayerState );
// TRICKY: We're asking the AI to judge mines. consider TNS_GOOD and below
// as "mine was hit" and everything else as "mine was avoided"
+3
View File
@@ -64,6 +64,9 @@ void PlayerAI::InitFromDisk()
TapNoteScore PlayerAI::GetTapNoteScore( const PlayerState* pPlayerState )
{
if( pPlayerState->m_PlayerController == PC_AUTOPLAY )
return TNS_MARVELOUS;
int iCpuSkill = pPlayerState->m_iCpuSkill;
/* If we're in battle mode, reduce the skill based on the number of modifier attacks