projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
moved bitmap to correct location
[xboard.git]
/
book.c
diff --git
a/book.c
b/book.c
index
124344f
..
2ec8546
100644
(file)
--- a/
book.c
+++ b/
book.c
@@
-500,7
+500,6
@@
char *ProbeBook(int moveNr, char *book)
for(i=0; i<count; i++){
total_weight += entries[i].weight;
}
- srandom( time(0) );
j = (random() & 0x7FFF) * total_weight >> 15; // create random < total_weight
total_weight = 0;
for(i=0; i<count; i++){