projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
341d90b
)
Fix piece symbols on switch back to variant normal
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 26 Feb 2012 15:53:24 +0000 (16:53 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 26 Feb 2012 15:53:24 +0000 (16:53 +0100)
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
patch
|
blob
|
history
diff --git
a/xboard.c
b/xboard.c
index
47d99f2
..
167e8cf
100644
(file)
--- 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)