From: H.G.Muller Date: Thu, 16 Oct 2014 14:38:00 +0000 (+0200) Subject: Always accept piece commands in variant great X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=3b33cbae38e5384a728931bc614dd51942a5f7cf;p=xboard.git 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. --- 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;