@@ -37,16 +37,16 @@ D(x, y, p, e) {
3737 // Make move.
3838 B [t ]= m %128 ;
3939 B [f ]= B [b ]= 0 ; // If en-passent capture, remove victim pawn.
40- I m %8 == 2 && (t < 8 || t > 103 ))
40+ I m %8 == 2 & (t < 8 || t > 103 ))
4141 B [t ]^=T [p %7 + 31 ]- 35 ; // Promotion.
4242 S ^=96 ;
4343 I m & 16 && t != f + d )
4444 B [f + t >>1 ]= B [t + (d * 3 - 1 )/2 ],B [t + (d * 3 - 1 )/2 ]= 0 ; // If castling also move rook.
4545
4646 // Looking to make a move? (if our own move, make sure does not leave us in check)
47- I (t == y && f == x ) | (x == H && D (8 ,0 ,0 ,H ))) {
47+ I (t == y & f == x ) | (x == H && D (8 ,0 ,0 ,H ))) {
4848 X = f ,Y = t ;
49- E = m %8 == 2 && t != f + d ? f + t >>1 : 9 ; // Set ep-target square if double pawn move.
49+ E = m %8 == 2 & t != f + d ? f + t >>1 : 9 ; // Set ep-target square if double pawn move.
5050 return B [t ]== m %128 ; // Indicate if promotion has NOT occured.
5151 }
5252
@@ -56,8 +56,8 @@ D(x, y, p, e) {
5656 B [f ]= m ;
5757 B [t ]= v ;
5858
59- I (m & 16 && f == x && t + d == y ) | // If GUI has given us a castling move,
60- (m & 128 && t == f + d && !(d %2 ))) // or double pawn first move, loop once more.
59+ I (m & 16 && f == x & t + d == y ) | // If GUI has given us a castling move,
60+ (m & 128 && t == f + d & !(d %2 ))) // or double pawn first move, loop once more.
6161 continue ;
6262
6363 // Hit a piece or non-slider?
0 commit comments