use PlayerNumber macros

This commit is contained in:
Chris Danford
2004-06-06 20:57:13 +00:00
parent 9762c6583f
commit fa114e148a
4 changed files with 46 additions and 60 deletions
+1 -4
View File
@@ -48,11 +48,8 @@ void CourseEntryDisplay::Load()
m_TextBanner.LoadFromString( "", "", "", "", "", "" );
this->AddChild( &m_TextBanner );
for( int pn = 0; pn < NUM_PLAYERS; ++pn )
FOREACH_HumanPlayer( pn )
{
if( !GAMESTATE->IsHumanPlayer((PlayerNumber)pn) )
continue; // skip
if( !SEPARATE_COURSE_METERS && pn != GAMESTATE->m_MasterPlayerNumber )
continue; // skip