cleanup: "(PlayerNumber)" -> ""

This commit is contained in:
Chris Danford
2005-01-31 03:18:46 +00:00
parent 3674f5a507
commit a24bd3014c
18 changed files with 46 additions and 54 deletions
+3 -3
View File
@@ -447,7 +447,7 @@ void GameState::Update( float fDelta )
}
if( bRebuildPlayerOptions )
RebuildPlayerOptionsFromActiveAttacks( (PlayerNumber)p );
RebuildPlayerOptionsFromActiveAttacks( p );
if( m_pPlayerState[p]->m_fSecondsUntilAttacksPhasedOut > 0 )
m_pPlayerState[p]->m_fSecondsUntilAttacksPhasedOut = max( 0, m_pPlayerState[p]->m_fSecondsUntilAttacksPhasedOut - fDelta );
@@ -1119,7 +1119,7 @@ bool GameState::IsDisqualified( PlayerNumber pn )
void GameState::ResetNoteSkins()
{
FOREACH_PlayerNumber( pn )
ResetNoteSkinsForPlayer( (PlayerNumber) pn );
ResetNoteSkinsForPlayer( pn );
++m_BeatToNoteSkinRev;
}
@@ -1279,7 +1279,7 @@ void GameState::RebuildPlayerOptionsFromActiveAttacks( PlayerNumber pn )
void GameState::RemoveAllActiveAttacks() // called on end of song
{
FOREACH_PlayerNumber( p )
RemoveActiveAttacksForPlayer( (PlayerNumber)p );
RemoveActiveAttacksForPlayer( p );
}
int GameState::GetSumOfActiveAttackLevels( PlayerNumber pn ) const