X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.c;fp=moves.c;h=abf193607df55a3310e7b940b77e8b05cb78da09;hb=2d18618a1697830a12fbdcaa398bb8bde18558fe;hp=c8f8039ab5f0e401ecc2ae7cfb237ab728f1def3;hpb=9c85ff7d902909d866b59ac3d390aea310c01396;p=xboard.git diff --git a/moves.c b/moves.c index c8f8039..abf1936 100644 --- a/moves.c +++ b/moves.c @@ -2058,7 +2058,7 @@ DisambiguateCallback (Board board, int flags, ChessMove kind, int rf, int ff, in (cl->rtIn == -1 || cl->rtIn == rt || wildCard) && (cl->ftIn == -1 || cl->ftIn == ft || wildCard)) { - if(cl->count && rf == cl->rf && ff == cl->ff) return; // duplicate move + if(cl->count && rf == cl->rf && ff == cl->ff && rt == cl->rt && ft == cl->ft) return; // duplicate move if(cl->count == 1 && kifu & 0x7E && cl->rfIn == -1 && cl->ffIn == -1) { // traditional Shogi disambiguation required int this = 1, other = 1;