Source/BoardView.m
changeset 13 db7bb080c3d5
parent 10 6c78cc6bd7a6
child 14 4585c74d809c
     1.1 --- a/Source/BoardView.m	Thu Jul 03 17:44:30 2008 -0700
     1.2 +++ b/Source/BoardView.m	Tue Jul 08 13:12:01 2008 -0700
     1.3 @@ -24,6 +24,7 @@
     1.4  #import "Bit.h"
     1.5  #import "BitHolder.h"
     1.6  #import "Game.h"
     1.7 +#import "Turn.h"
     1.8  #import "Player.h"
     1.9  #import "QuartzUtils.h"
    1.10  #import "GGBUtils.h"
    1.11 @@ -103,7 +104,9 @@
    1.12  
    1.13  - (BOOL) canMakeMove
    1.14  {
    1.15 -    return (_game && _game.currentPlayer.local && _game.currentTurnNo==_game.maxTurnNo);
    1.16 +    return _game != nil
    1.17 +        && _game.currentPlayer.local
    1.18 +        && _game.currentTurn.status < kTurnComplete;
    1.19  }
    1.20  
    1.21