From: H.G. Muller Date: Fri, 26 Mar 2010 20:16:52 +0000 (+0100) Subject: Suppress background observe for boards with own game number X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ee4ddd563d4ed12d520ecdd2914b553d52345600;p=xboard.git Suppress background observe for boards with own game number This is really a work-around for an ICS bug. The Variant-ICS sent the initial board of a game in a move list with relation = 0, which means 'observed'. So XBoard was thinking it was observing its own game, and switched to dual board. It seems harmless to suppress such a switch for all boards of your own game, however, which is now done. --- diff --git a/backend.c b/backend.c index c58c091..9b60f38 100644 --- a/backend.c +++ b/backend.c @@ -3842,7 +3842,7 @@ ParseBoard12(string) } if((gameMode == IcsPlayingWhite || gameMode == IcsPlayingBlack) - && newGameMode == IcsObserving && appData.bgObserve) { + && newGameMode == IcsObserving && gamenum != ics_gamenum && appData.bgObserve) { // [HGM] bughouse: don't act on alien boards while we play. Just parse the board and save it */ char *toSqr; for (k = 0; k < ranks; k++) {