1.1 --- a/Source/GoGame.m Wed Mar 12 15:51:32 2008 -0700
1.2 +++ b/Source/GoGame.m Thu May 29 15:04:06 2008 -0700
1.3 @@ -87,6 +87,7 @@
1.4 [_captured[1] release];
1.5
1.6 [self nextPlayer];
1.7 + PreloadSound(@"Pop");
1.8 }
1.9 return self;
1.10 }
1.11 @@ -104,9 +105,15 @@
1.12 }
1.13
1.14
1.15 +- (BOOL) canBit: (Bit*)bit moveFrom: (id<BitHolder>)srcHolder
1.16 +{
1.17 + return (srcHolder==nil);
1.18 +}
1.19 +
1.20 +
1.21 - (BOOL) canBit: (Bit*)bit moveFrom: (id<BitHolder>)srcHolder to: (id<BitHolder>)dstHolder
1.22 {
1.23 - if( ! [dstHolder isKindOfClass: [Square class]] )
1.24 + if( srcHolder!=nil || ! [dstHolder isKindOfClass: [Square class]] )
1.25 return NO;
1.26 Square *dst=(Square*)dstHolder;
1.27