fix subtle bugs that caused inaccurate judgment totals with AI player

This commit is contained in:
Chris Danford
2003-04-10 05:46:31 +00:00
parent 17e9a7d777
commit 04145caf72
20 changed files with 88 additions and 74 deletions
+3 -3
View File
@@ -379,7 +379,7 @@ void ScreenEz2SelectMusic::DrawPrimitives()
void ScreenEz2SelectMusic::EasierDifficulty( PlayerNumber pn )
{
if( !GAMESTATE->IsPlayerEnabled(pn) )
if( !GAMESTATE->IsHumanPlayer(pn) )
return;
if( m_arrayNotes[pn].empty() )
return;
@@ -406,7 +406,7 @@ void ScreenEz2SelectMusic::EasierDifficulty( PlayerNumber pn )
void ScreenEz2SelectMusic::HarderDifficulty( PlayerNumber pn )
{
if( !GAMESTATE->IsPlayerEnabled(pn
if( !GAMESTATE->IsHumanPlayer(pn
) )
return;
if( m_arrayNotes[pn].empty() )
@@ -464,7 +464,7 @@ void ScreenEz2SelectMusic::MusicChanged()
for( pn=0; pn<NUM_PLAYERS; pn++ )
{
if( !GAMESTATE->IsPlayerEnabled( PlayerNumber(pn) ) )
if( !GAMESTATE->IsHumanPlayer( PlayerNumber(pn) ) )
continue;
for( unsigned i=0; i<m_arrayNotes[pn].size(); i++ )
{