From: Marco Costalba Date: Tue, 6 Oct 2009 10:15:05 +0000 (+0100) Subject: Fix bogus comment in extract_pv() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=fd2b3df77083ae60d9233023119d6d0a076070b9 Fix bogus comment in extract_pv() Signed-off-by: Marco Costalba --- diff --git a/src/tt.cpp b/src/tt.cpp index 5e1dfe17..a16d5cac 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -231,7 +231,7 @@ void TranspositionTable::extract_pv(const Position& pos, Move pv[], int pvSize) while (pv[ply] != MOVE_NONE) 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 && tte->move() != MOVE_NONE && move_is_legal(p, tte->move())