]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Convert constants to decimal representation
[stockfish] / src / evaluate.cpp
index 880a531cf39501b97eb2339158b59244a6e91608..9b755955f2d0b413b0e1e8c11b30ca1867afdce5 100644 (file)
@@ -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;
   }