Source/Game.m
changeset 9 a59acc683080
parent 8 45c82a071aca
child 10 6c78cc6bd7a6
     1.1 --- a/Source/Game.m	Wed May 28 12:47:10 2008 -0700
     1.2 +++ b/Source/Game.m	Thu May 29 15:04:06 2008 -0700
     1.3 @@ -196,11 +196,9 @@
     1.4          if( turn==_currentTurn+1 ) {
     1.5              [self applyMoveString: [_moves objectAtIndex: _currentTurn]];
     1.6          } else {
     1.7 -            [CATransaction begin];
     1.8 -            [CATransaction setValue:(id)kCFBooleanTrue
     1.9 -                             forKey:kCATransactionDisableActions];
    1.10 +            BeginDisableAnimations();
    1.11              self.stateString = [_states objectAtIndex: turn];
    1.12 -            [CATransaction commit];
    1.13 +            EndDisableAnimations();
    1.14          }
    1.15          _currentTurn = turn;
    1.16          self.currentPlayer = [_players objectAtIndex: (turn % _players.count)];