X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=5b66016604c07093eea9abc2f9df75114d6eb67a;hb=a2875470324f942b5a8f696a5f30f1e26e793252;hp=774784400b7cab2ec9380c596ccb611c1ac16526;hpb=9b4c2f6e576b10ffb1ce3a08edc0bc2f7454bf41;p=xboard.git diff --git a/backend.c b/backend.c index 7747844..5b66016 100644 --- a/backend.c +++ b/backend.c @@ -7519,7 +7519,7 @@ printf("to click %d,%d\n",x,y); toP = boards[currentMove][y][x]; frc = appData.fischerCastling || gameInfo.variant == VariantSChess; if( (killX < 0 || x != fromX || y != fromY) && // [HGM] lion: do not interpret igui as deselect! - legal[y][x] == 0 && // if engine told we can move to here, do it even if own piece + marker[y][x] == 0 && // if engine told we can move to here, do it even if own piece ((WhitePawn <= fromP && fromP <= WhiteKing && WhitePawn <= toP && toP <= WhiteKing && !(fromP == WhiteKing && toP == WhiteRook && frc) &&