diff -r 4585c74d809c -r 73f8c889f053 Source/Game.m --- a/Source/Game.m Tue Jul 08 20:32:52 2008 -0700 +++ b/Source/Game.m Wed Jul 09 17:07:45 2008 -0700 @@ -219,6 +219,23 @@ } +- (BOOL) okToMove +{ + Turn *latest = self.latestTurn; + if( latest.player.local && latest.status < kTurnComplete ) { + // Automatically skip from latest finished turn, since board state is the same: + unsigned latestTurnNo = self.maxTurnNo; + if( _currentTurnNo==latestTurnNo-1 ) { + NSLog(@"okToMove: skipping from turn %i to %i",_currentTurnNo,latestTurnNo); + self.currentTurnNo = latestTurnNo; + } + if( _currentTurnNo==latestTurnNo ) + return YES; + } + return NO; +} + + - (void) endTurn { Turn *curTurn = self.currentTurn;