From: H.G.Muller Date: Fri, 17 Oct 2014 21:39:03 +0000 (+0200) Subject: Repair initial position of ASEAN X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2a5abd95c63c0e06cbf2437fb8840b3a7676e17c;p=fairymax.git Repair initial position of ASEAN The previous fix was enough to put the Pawns on 3rd rank in the FEN of the setup command Fairy-Max sent, but it still put them on 2nd rank on its internal board. --- diff --git a/fairymax.c b/fairymax.c index f9d5bdc..0e22af6 100644 --- a/fairymax.c +++ b/fairymax.c @@ -543,7 +543,7 @@ void LoadGame(char *name) } while(fscanf(f, " # %[^\n]", pieceToChar)) printf("piece %s\n", pieceToChar); fclose(f); - if(makruk != 64) makruk = 0; // 66 was kludge to interpret "=1" suffix in asean for setting up 3rd-rank Pawns + if(makruk == 66) makruk = 8; // 66 was kludge to interpret "=1" suffix in asean for setting up 3rd-rank Pawns } int main(int argc, char **argv)