ISO for scoping compliance blah blah

This commit is contained in:
Ben Anderson
2003-06-21 15:58:19 +00:00
parent f85d28c941
commit 5025eba307
+2 -1
View File
@@ -255,7 +255,8 @@ void ScreenSelectMaster::MenuRight( PlayerNumber pn )
void ScreenSelectMaster::ChangePage( Page newPage )
{
// If anyone has already chosen, don't allow changing of pages
for( int p=0; p<NUM_PLAYERS; p++ )
int p;
for( p=0; p<NUM_PLAYERS; p++ )
if( GAMESTATE->IsHumanPlayer(p) && m_bChosen[p] )
return;