projects
/
fairymax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e4b687b
)
Let edit command switch to force mode
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 7 Nov 2010 20:51:36 +0000 (21:51 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 7 Nov 2010 21:00:24 +0000 (22:00 +0100)
Fairy-Max stayed playing the side it was playing before 'edit'. Now it
switches to 'force' mode, so that it won't start to play automatically
on receiving a move after setting up a position.
fairymax.c
patch
|
blob
|
history
diff --git
a/fairymax.c
b/fairymax.c
index
8d6a125
..
3a89dd5
100644
(file)
--- a/
fairymax.c
+++ b/
fairymax.c
@@
-838,6
+838,7
@@
int main(int argc, char **argv)
setupPosition[128] = Side;
\r
setupPosition[129] = R;
\r
for(i=0; i<32; i++) setupPosition[i+130] = pl[i];
\r
+ Computer = EMPTY; // after edit: force mode!
\r
continue;
\r
}
\r
/* command not recognized, assume input move */
\r