From: H.G. Muller Date: Sun, 26 Feb 2012 15:53:24 +0000 (+0100) Subject: Fix piece symbols on switch back to variant normal X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=64ff3eccff68c620830c21199601f1291b2ea8c8;p=xboard.git Fix piece symbols on switch back to variant normal Variant switches were not properly detected, meaning the variable pieces could keep a form belonging to a previous variant. (E.g. Queen remained a Lance image after switching from shogi to normal.) --- diff --git a/xboard.c b/xboard.c index 47d99f2..167e8cf 100644 --- a/xboard.c +++ b/xboard.c @@ -1824,6 +1824,7 @@ InitDrawingSizes (BoardSize boardSize, int flags) } } oldMono = -10; // kludge to force recreation of animation masks + oldVariant = gameInfo.variant; } #if HAVE_LIBXPM if(appData.monoMode != oldMono)