From 64ff3eccff68c620830c21199601f1291b2ea8c8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 26 Feb 2012 16:53:24 +0100 Subject: [PATCH] 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.) --- xboard.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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) -- 1.7.0.4