From: H.G. Muller Date: Sun, 17 Jan 2010 14:20:34 +0000 (+0100) Subject: Remove Shatranj stalemate claim X-Git-Tag: 4.8P~19 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f0f6ce9c3442aba3131f19ce70075df051262e5a;p=fairymax.git Remove Shatranj stalemate claim As the search of Shamax does not distinguish checkmate and stalemate, it could never be triggered. --- 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");