X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=c531656bed48f42a754c3587762858d3b45cdc9f;hb=d81f573a5e990af8eb8de5efdea8aa156aa97c1e;hp=0328a586f4380ae7cacf6893ff8c7e8680ad9af1;hpb=5d34e50444d0107bfe7d10ea2a38b003d130df24;p=xboard.git diff --git a/backend.c b/backend.c index 0328a58..c531656 100644 --- a/backend.c +++ b/backend.c @@ -9057,7 +9057,7 @@ FakeBookMove: // [HGM] book: we jump here to simulate machine moves after book h GameEnds(cps->twoMachinesColor[0] == 'w' ? BlackWins : WhiteWins, buf1, GE_XBOARD); return; - } else if(!appData.fischerCastling) + } else if(!appData.fischerCastling && toX != BOARD_WIDTH>>1) /* [HGM] Kludge to handle engines that send FRC-style castling when they shouldn't (like TSCP-Gothic) */ switch(moveType) {