From 3b33cbae38e5384a728931bc614dd51942a5f7cf Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Thu, 16 Oct 2014 16:38:00 +0200 Subject: [PATCH] Always accept piece commands in variant great Great Shatranj belongs to the variants XBoard does not know the rules of, and should thus always accept engine piece commands. --- backend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index eb9059f..878f03f 100644 --- a/backend.c +++ b/backend.c @@ -8908,6 +8908,7 @@ FakeBookMove: // [HGM] book: we jump here to simulate machine moves after book h /* For variants we don't have */ && gameInfo.variant != VariantBerolina /* correct rules for, we cannot */ && gameInfo.variant != VariantCylinder /* enforce legality on our own! */ && gameInfo.variant != VariantUnknown + && gameInfo.variant != VariantGreat && gameInfo.variant != VariantFairy ) return; if(piece < EmptySquare) { pieceDefs = TRUE; -- 1.7.0.4