projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b3744eb
)
Better comment previous patch
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 16 Oct 2008 10:53:25 +0000 (12:53 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:32 +0000 (21:35 +0200)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movepick.cpp
patch
|
blob
|
history
diff --git
a/src/movepick.cpp
b/src/movepick.cpp
index
361644a
..
066af5f
100644
(file)
--- a/
src/movepick.cpp
+++ b/
src/movepick.cpp
@@
-257,6
+257,7
@@
void MovePicker::score_noncaptures() {
else
moves[i].score = H.move_ordering_score(pos->piece_on(move_from(m)), m);
+ // Ensure moves in history are always sorted as first
if (moves[i].score > 0)
moves[i].score += 1000;