Fix a Player 2 assist tick / clap bug.

This commit is contained in:
Jason Felds
2011-06-06 20:23:23 -04:00
parent 4d4b441492
commit 963cc9d4f1
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1393,7 +1393,7 @@ void ScreenGameplay::PlayTicks()
/* TODO: Allow all players to have ticks. Not as simple as it looks.
* If a loop takes place, it could make one player's ticks come later
* than intended. Any help here would be appreciated. -Wolfman2000 */
Player &player = *m_vPlayerInfo[0].m_pPlayer;
Player &player = *m_vPlayerInfo[GAMESTATE->GetMasterPlayerNumber()].m_pPlayer;
const NoteData &nd = player.GetNoteData();
m_GameplayAssist.PlayTicks( nd, player.GetPlayerState() );
}