This commit is contained in:
Chris Forbes
2009-10-26 23:17:59 +13:00
parent 612490e5b8
commit ca65a5e2ca

View File

@@ -54,11 +54,8 @@ namespace OpenRa.Game.GameRules
for( int y = 0 ; y < dim.Y ; y++ )
for( int x = 0 ; x < dim.X ; x++ )
{
if( cond( footprint[ index ] ) )
if( cond( footprint[ index++ ] ) )
yield return new int2( x, y );
++index;
}
}
public static int2 AdjustForBuildingSize( string name )