1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Fix a silly bug that disabled second killer

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
Signed-off-by: unknown <Marco@.(none)>
This commit is contained in:
Marco Costalba 2008-11-17 22:30:19 +01:00 committed by unknown
parent 1d525bb45f
commit 8189ae9e1c

View file

@ -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;