From 2a5abd95c63c0e06cbf2437fb8840b3a7676e17c Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Fri, 17 Oct 2014 23:39:03 +0200 Subject: [PATCH] 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. --- fairymax.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) -- 1.7.0.4