X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.cpp;h=ea332b7be37b4ae4b73be30ea8fa9277d5660ff2;hp=b96b799542556a7f461e29d7b1472bf631689eab;hb=12d8f74242a0a24ac16cf5ee52447103c5c79900;hpb=7a68916ff992115d8013e7ce31850aec558d8ac5 diff --git a/src/movepick.cpp b/src/movepick.cpp index b96b7995..ea332b7b 100644 --- a/src/movepick.cpp +++ b/src/movepick.cpp @@ -221,7 +221,7 @@ void MovePicker::score_noncaptures() { hs += 1000; // pst based scoring - cur->score = hs + pos.pst_delta(piece, from, to); + cur->score = hs + mg_value(pos.pst_delta(piece, from, to)); } }