projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7c6f1f8
)
Fix bug in ICS variant switch for Shogi
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 10 Oct 2010 19:26:11 +0000 (21:26 +0200)
committer
Arun Persaud
<arun@nubati.net>
Sat, 16 Oct 2010 02:24:35 +0000 (19:24 -0700)
Because a test for 8x8 variants was done by <= VariantShogi,
rather than <, spurious move-list fetching occurred in Shogi.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
c517305
..
6bd4418
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-4008,7
+4008,7
@@
ParseBoard12(string)
}
if (gameInfo.boardHeight != ranks || gameInfo.boardWidth != files ||
- weird && (int)gameInfo.variant <= (int)VariantShogi) {
+ weird && (int)gameInfo.variant < (int)VariantShogi) {
/* [HGM] We seem to have switched variant unexpectedly
* Try to guess new variant from board size
*/