- while (found && is_ok(entry->move()) &&
- pos->pseudo_legal(entry->move()) &&
- pos->legal(entry->move())) {
- FillMove(pos, entry->move(), response->add_pv());
+ while (is_ok(entry_copy.move()) &&
+ pos->pseudo_legal(entry_copy.move()) &&
+ pos->legal(entry_copy.move())) {
+ FillMove(pos, entry_copy.move(), response->add_pv());