1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

Fix bogus comment in extract_pv()

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2009-10-06 11:15:05 +01:00
parent da948cc94e
commit fd2b3df770

View file

@ -231,7 +231,7 @@ void TranspositionTable::extract_pv(const Position& pos, Move pv[], int pvSize)
while (pv[ply] != MOVE_NONE) while (pv[ply] != MOVE_NONE)
p.do_move(pv[ply++], st); p.do_move(pv[ply++], st);
// Try to add moves from TT until possible // Try to add moves from TT while possible
while ( (tte = retrieve(p.get_key())) != NULL while ( (tte = retrieve(p.get_key())) != NULL
&& tte->move() != MOVE_NONE && tte->move() != MOVE_NONE
&& move_is_legal(p, tte->move()) && move_is_legal(p, tte->move())