MovePicker: take advantage of threat move for ordering

If the null move was refuted by a capture then give a
bonus if we move away the captured piece.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-11-25 11:10:02 +01:00
parent ee9f650242
commit eba8925d81
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ private:
int find_best_index(Bitboard* squares, int values[]);
const Position& pos;
Move ttMove, mateKiller, killer1, killer2;
Move ttMove, mateKiller, killer1, killer2, threatMove;
Bitboard pinned, dc;
MoveStack moves[256], badCaptures[64];
bool pvNode;