fix compile

This commit is contained in:
Glenn Maynard
2004-01-22 07:15:08 +00:00
parent 47825d5540
commit 9e9375bb5f
+12 -8
View File
@@ -373,7 +373,8 @@ void ScreenSelectMusic::TweenSongPartsOnScreen( bool Initial )
m_DifficultyList.Show(); m_DifficultyList.Show();
} }
for( int p=0; p<NUM_PLAYERS; p++ ) int p;
for( p=0; p<NUM_PLAYERS; p++ )
{ {
if( !GAMESTATE->IsHumanPlayer(p) ) if( !GAMESTATE->IsHumanPlayer(p) )
continue; // skip continue; // skip
@@ -383,13 +384,14 @@ void ScreenSelectMusic::TweenSongPartsOnScreen( bool Initial )
ON_COMMAND( m_DifficultyIcon[p] ); ON_COMMAND( m_DifficultyIcon[p] );
ON_COMMAND( m_AutoGenIcon[p] ); ON_COMMAND( m_AutoGenIcon[p] );
} }
for( p=0; p<NUM_PLAYERS; p++ ) for( p=0; p<NUM_PLAYERS; p++ )
{ {
if( !GAMESTATE->IsPlayerEnabled( p )) if( GAMESTATE->IsPlayerEnabled(p) )
{ continue; // skip
ON_COMMAND( m_sprNonPresence[p] ); ON_COMMAND( m_sprNonPresence[p] );
} }
}
} }
void ScreenSelectMusic::TweenSongPartsOffScreen( bool Final ) void ScreenSelectMusic::TweenSongPartsOffScreen( bool Final )
@@ -407,7 +409,8 @@ void ScreenSelectMusic::TweenSongPartsOffScreen( bool Final )
m_DifficultyList.Hide(); m_DifficultyList.Hide();
} }
for( int p=0; p<NUM_PLAYERS; p++ ) int p;
for( p=0; p<NUM_PLAYERS; p++ )
{ {
if( !GAMESTATE->IsHumanPlayer(p) ) if( !GAMESTATE->IsHumanPlayer(p) )
continue; // skip continue; // skip
@@ -417,13 +420,14 @@ void ScreenSelectMusic::TweenSongPartsOffScreen( bool Final )
OFF_COMMAND( m_DifficultyIcon[p] ); OFF_COMMAND( m_DifficultyIcon[p] );
OFF_COMMAND( m_AutoGenIcon[p] ); OFF_COMMAND( m_AutoGenIcon[p] );
} }
for( p=0; p<NUM_PLAYERS; p++ ) for( p=0; p<NUM_PLAYERS; p++ )
{ {
if( !GAMESTATE->IsPlayerEnabled( p )) if( GAMESTATE->IsPlayerEnabled( p ))
{ continue; // skip
OFF_COMMAND( m_sprNonPresence[p] ); OFF_COMMAND( m_sprNonPresence[p] );
} }
}
} }
void ScreenSelectMusic::TweenCoursePartsOnScreen( bool Initial ) void ScreenSelectMusic::TweenCoursePartsOnScreen( bool Initial )