From 00db7129eba48aa798b9da74391d3e9d367088f6 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 13 Feb 2011 22:30:59 +0100 Subject: [PATCH] Fix variant janus size prefix The default board size of Janus Chess was not consistently taken to be 10x8, which resulted the name to be sent as 10x8+0_janus to the engine. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 17e77ae..ae15f1a 100644 --- a/backend.c +++ b/backend.c @@ -8892,7 +8892,7 @@ InitChessProgram(cps, setup) if( gameInfo.variant == VariantBughouse || gameInfo.variant == VariantCrazyhouse ) overruled = gameInfo.boardWidth != 8 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 5; if( gameInfo.variant == VariantCapablanca || gameInfo.variant == VariantCapaRandom || - gameInfo.variant == VariantGothic || gameInfo.variant == VariantFalcon ) + gameInfo.variant == VariantGothic || gameInfo.variant == VariantFalcon || gameInfo.variant == VariantJanus ) overruled = gameInfo.boardWidth != 10 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 0; if( gameInfo.variant == VariantCourier ) overruled = gameInfo.boardWidth != 12 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 0; -- 1.7.0.4