From: H.G. Muller Date: Wed, 17 Nov 2010 15:07:23 +0000 (+0100) Subject: Account for Elephant and Hawk in Seirawan game stage X-Git-Tag: 4.8Q~14 X-Git-Url: http://winboard.nl/cgi-bin?p=fairymax.git;a=commitdiff_plain;h=624ef92257cf0512856552f09080c68fdae1f6ee Account for Elephant and Hawk in Seirawan game stage The holdings pieces were not counted when initializing R. --- diff --git a/fairymax.c b/fairymax.c index 85783a1..072e67f 100644 --- a/fairymax.c +++ b/fairymax.c @@ -784,7 +784,7 @@ int main(int argc, char **argv) sscanf(line, "variant %s", command); LoadGame(command); InitGame(); Setup = 0; - if(strstr(command,"seirawan")) pl[13] = pl[15] = pl[29] = pl[31] = 1; + if(strstr(command,"seirawan")) pl[13] = pl[15] = pl[29] = pl[31] = 1, R += 2*(w[6]/FAC + w[8]/FAC); continue; } if (!strcmp(command, "edit")) {