From: Marco Costalba Date: Mon, 17 Nov 2008 21:30:19 +0000 (+0100) Subject: Fix a silly bug that disabled second killer X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=8189ae9e1c35f2e775709a5920524633e7516581 Fix a silly bug that disabled second killer Signed-off-by: Marco Costalba Signed-off-by: unknown --- diff --git a/src/movepick.cpp b/src/movepick.cpp index 43f30f77..52c1f728 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -71,7 +71,7 @@ MovePicker::MovePicker(const Position& p, bool pv, Move ttm, ttMove = ttm; mateKiller = (ss.mateKiller == ttm)? MOVE_NONE : ss.mateKiller; killer1 = ss.killers[0]; - killer2 = ss.killers[0]; + killer2 = ss.killers[1]; depth = d; movesPicked = 0; numOfMoves = 0;