diff --git a/src/search.cpp b/src/search.cpp index a3238a33..e98ea81d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -329,8 +329,8 @@ namespace { // before to search them. template<> struct MovePickerExt : public MovePicker { - MovePickerExt(const Position& p, Move, Depth d, const History& h, SearchStack* ss, Value b) - : MovePicker(p, Rml[0].pv[0], d, h, ss, b), firstCall(true) { + MovePickerExt(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss, Value b) + : MovePicker(p, ttm, d, h, ss, b), firstCall(true) { Move move; Value score = VALUE_ZERO;