From: H.G. Muller Date: Sat, 11 Feb 2012 16:15:11 +0000 (+0100) Subject: Fix switching animation masks on variant switch X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e68184728aca2c7547dbfa90667e5be2d7ca97e3;p=xboard.git Fix switching animation masks on variant switch The masks for variant-dependent piees (E,H in Seirawan, promoted Golds in Shogi, the Gothic Chancellor) were no longer updated in InitDrawingSizes because of the patch to reduce X-server calls. --- diff --git a/xboard.c b/xboard.c index e4aec19..92f9bf7 100644 --- a/xboard.c +++ b/xboard.c @@ -1816,6 +1816,7 @@ InitDrawingSizes (BoardSize boardSize, int flags) } } } + oldMono = -10; // kludge to force recreation of animation masks } #if HAVE_LIBXPM if(appData.monoMode != oldMono)