projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
37ba6fd
)
Make variant-unsupported-by-second error non-fatal
author
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 26 Mar 2012 15:12:33 +0000 (17:12 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 10 Apr 2012 09:39:39 +0000 (11:39 +0200)
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
3f6229d
..
f733800
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-13553,6
+13553,11
@@
TwoMachinesEvent P((void))
if (appData.noChessProgram) return;
+ if(second.protocolVersion >= 2 && !strstr(second.variants, VariantName(gameInfo.variant))) {
+ DisplayError("second engine does not play this", 0);
+ return;
+ }
+
switch (gameMode) {
case TwoMachinesPlay:
return;