From f0f6ce9c3442aba3131f19ce70075df051262e5a Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 17 Jan 2010 15:20:34 +0100 Subject: [PATCH] Remove Shatranj stalemate claim As the search of Shamax does not distinguish checkmate and stalemate, it could never be triggered. --- changelog | 1 + fairymax.c | 7 ------- 2 files changed, 1 insertions(+), 7 deletions(-) diff --git a/changelog b/changelog index 3a28cbb..e4e6f6a 100644 --- a/changelog +++ b/changelog @@ -75,4 +75,5 @@ 16/1/2010 Fixed bug in Shatranj result claims. Flip eval sign when side-to-move changes through WB color command. +17/1/2010 Removed Shatranj stalemate claim again, as it was never triggered. diff --git a/fairymax.c b/fairymax.c index e615fd4..b939cfc 100644 --- a/fairymax.c +++ b/fairymax.c @@ -331,13 +331,6 @@ int PrintResult(int s) printf("1-0 {Bare King}\n"); return 5; } - if(cnt>-I+1 && K==0 && L==0) { - if (s == WHITE) - printf("0-1 {Stalemate}\n"); - else - printf("1-0 {Stalemate}\n"); - return 2; - } #else if(cnt>-I+1 && K==0 && L==0) { printf("1/2-1/2 {Stalemate}\n"); -- 1.7.0.4