From 240221c6158003a163aecb1efbe207bae058683d Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 26 Mar 2012 17:12:33 +0200 Subject: [PATCH] Make variant-unsupported-by-second error non-fatal --- backend.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 3f6229d..f733800 100644 --- 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; -- 1.7.0.4