mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Better comment previous patch
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
b3744eb4d0
commit
a930aafce0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue