From: H.G. Muller Date: Sat, 20 Feb 2010 14:39:29 +0000 (+0100) Subject: Don't disturb background observe when receiving new piece X-Git-Tag: master-20100221~6 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=ea0c44dcbd56b998c6a7456b4dd6ebd77e3470a6 Don't disturb background observe when receiving new piece When new holdings are sent when the background game is displayed, we now ignore this, as presumably we are peeking at our partners game, and thus should be well aware of what is captured there. --- diff --git a/backend.c b/backend.c index 18d48ce..00b2d0e 100644 --- a/backend.c +++ b/backend.c @@ -3647,7 +3647,7 @@ read_from_ics(isr, closure, data, count, error) gameInfo.white, white_holding, gameInfo.black, black_holding); } - + if(!partnerUp) // [HGM] bughouse: when peeking at partner game we already know what he captured... DrawPosition(FALSE, boards[currentMove]); DisplayTitle(str); } else if(appData.bgObserve) { // [HGM] bughouse: holdings of other game => background