From 476de3d6907da3cf57c04bc1cde973e65a3fb714 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 10 Apr 2003 08:40:40 +0000 Subject: [PATCH] fix compile --- stepmania/src/Player.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 2f798d17ac..dcab4cc10a 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -547,7 +547,7 @@ void Player::HandleTapRowScore( unsigned row ) #ifndef DEBUG // don't accumulate points if AutoPlay is on. - if( m_PlayerController == CPU_AUTOPLAY && !GAMESTATE->m_bDemonstrationOrJukebox ) + if( GAMESTATE->m_PlayerController[m_PlayerNumber] == CPU_AUTOPLAY && !GAMESTATE->m_bDemonstrationOrJukebox ) return; #endif //DEBUG @@ -568,7 +568,7 @@ void Player::HandleHoldScore( HoldNoteScore holdScore, TapNoteScore tapScore ) { #ifndef DEBUG // don't accumulate points if AutoPlay is on. - if( m_PlayerController == CPU_AUTOPLAY && !GAMESTATE->m_bDemonstrationOrJukebox ) + if( GAMESTATE->m_PlayerController[m_PlayerNumber] == CPU_AUTOPLAY && !GAMESTATE->m_bDemonstrationOrJukebox ) return; #endif //DEBUG