Source/HexchequerGame.m
changeset 13 db7bb080c3d5
parent 10 6c78cc6bd7a6
child 15 73f8c889f053
     1.1 --- a/Source/HexchequerGame.m	Thu Jul 03 17:44:30 2008 -0700
     1.2 +++ b/Source/HexchequerGame.m	Tue Jul 08 13:12:01 2008 -0700
     1.3 @@ -43,14 +43,6 @@
     1.4      grid.cellColor = CreateGray(1.0, 0.25);
     1.5      grid.lineColor = kTranslucentLightGrayColor;
     1.6      [grid addCellsInHexagon];
     1.7 -    [_cells removeAllObjects];
     1.8 -    for( int y=0; y<9; y++ ) {
     1.9 -        for( int x=0; x<9; x++ ) {
    1.10 -            GridCell *cell = [_grid cellAtRow: y column: x];
    1.11 -            if( cell )
    1.12 -                [_cells addObject: cell];
    1.13 -        }
    1.14 -    }
    1.15  }
    1.16  
    1.17  
    1.18 @@ -113,7 +105,6 @@
    1.19      if( capture ) {
    1.20          PlaySound(@"Pop");
    1.21          [turn addToMove: @"!"];
    1.22 -        _numPieces[capture.bit.owner.index]--;
    1.23          [capture destroyBit];
    1.24          
    1.25          // Now check if another capture is possible. If so, don't end the turn: