FOREACH_ENUM cleanup

This commit is contained in:
Chris Danford
2008-04-24 09:34:01 +00:00
parent 6a8d514c5b
commit c13a36e948
16 changed files with 43 additions and 45 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ GameInput Style::StyleInputToGameInput( int iCol, PlayerNumber pn ) const
ssprintf("P%i C%i", pn, iCol) );
bool bUsingOneSide = m_StyleType != StyleType_OnePlayerTwoSides && m_StyleType != StyleType_TwoPlayersSharedSides;
FOREACH_GameController(gc)
FOREACH_ENUM( GameController, gc)
{
if( bUsingOneSide && gc != (int) pn )
continue;