projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a5962cc
)
Fix auto-play
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 10 Apr 2012 13:53:47 +0000 (15:53 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 10 Apr 2012 13:53:47 +0000 (15:53 +0200)
The 'narrow search' modification had broken auto-play, because all selected
games were marked as matching position 0, so that they would all start in
thr opening position.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
6185347
..
cc42334
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-12148,7
+12148,7
@@
LoadGame (FILE *f, int gameNumber, char *title, int useList)
AnalyzeFileEvent();
}
- if (!matchMode && pos >= 0) {
+ if (!matchMode && pos > 0) {
ToNrEvent(pos); // [HGM] no autoplay if selected on position
} else
if (matchMode || appData.timeDelay == 0) {