projects
/
fairymax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7354fdf
)
Account for Elephant and Hawk in Seirawan game stage
author
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 17 Nov 2010 15:07:23 +0000 (16:07 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 17 Nov 2010 15:07:23 +0000 (16:07 +0100)
The holdings pieces were not counted when initializing R.
fairymax.c
patch
|
blob
|
history
diff --git
a/fairymax.c
b/fairymax.c
index
85783a1
..
072e67f
100644
(file)
--- a/
fairymax.c
+++ b/
fairymax.c
@@
-784,7
+784,7
@@
int main(int argc, char **argv)
sscanf(line, "variant %s", command);
\r
LoadGame(command);
\r
InitGame(); Setup = 0;
\r
- if(strstr(command,"seirawan")) pl[13] = pl[15] = pl[29] = pl[31] = 1;
\r
+ if(strstr(command,"seirawan")) pl[13] = pl[15] = pl[29] = pl[31] = 1, R += 2*(w[6]/FAC + w[8]/FAC);
\r
continue;
\r
}
\r
if (!strcmp(command, "edit")) {
\r