cleanup, consolidate indexing by PlayerNumber

This commit is contained in:
Glenn Maynard
2005-10-22 21:31:40 +00:00
parent 9f2ef19aa6
commit 039aea4d01
5 changed files with 9 additions and 14 deletions
+1 -4
View File
@@ -76,10 +76,7 @@ void GhostArrowRow::DrawPrimitives()
{
for( unsigned c=0; c<m_Ghost.size(); c++ )
{
// TODO: Remove indexing by PlayerNumber.
PlayerNumber pn = m_pPlayerState->m_PlayerNumber;
NoteFieldMode::BeginDrawTrack( pn, c );
NoteFieldMode::BeginDrawTrack( m_pPlayerState, c );
m_Ghost[c]->Draw();
NoteFieldMode::EndDrawTrack( c );
}