projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
158b0bd
)
Reset initString and computerString on engine load
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 11 Oct 2011 20:58:01 +0000 (22:58 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 11 Oct 2011 20:58:01 +0000 (22:58 +0200)
These options are typically engine specific, and must thus be
reset to their default value before loading a new engine.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
db03aad
..
eec214e
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-879,6
+879,7
@@
extern Boolean isUCI, hasBook, storeVariant, v1, addToList, useNick;
static char resetOptions[] =
"-reuse -firstIsUCI false -firstHasOwnBookUCI true -firstTimeOdds 1 "
+ "-firstInitString \"" INIT_STRING "\" -firstComputerString \"" COMPUTER_STRING "\" "
"-firstOptions \"\" -firstNPS -1 -fn \"\"";
void