X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=c531656bed48f42a754c3587762858d3b45cdc9f;hb=22be362b5abb0d3993d75763fda5112b47287cca;hp=0328a586f4380ae7cacf6893ff8c7e8680ad9af1;hpb=718933f1c67acc537f88199e4c72e3ad1b6a32d7;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) {