X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=9b755955f2d0b413b0e1e8c11b30ca1867afdce5;hp=880a531cf39501b97eb2339158b59244a6e91608;hb=5e905800887da94d481978d3bddd9539b2111458;hpb=ef0496ff4095330eaea4b33bb14e0386942fd093 diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 880a531c..9b755955 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -1108,7 +1108,7 @@ Value do_evaluate(const Position& pos, Value& margin) { } // Winning pawn is unstoppable and will promote as first, return big score - Score score = make_score(0, (Value) 0x500 - 0x20 * pliesToQueen[winnerSide]); + Score score = make_score(0, (Value) 1280 - 32 * pliesToQueen[winnerSide]); return winnerSide == WHITE ? score : -score; }