X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fevaluate.cpp;h=ac0bf8cce9cc81571873889c3e5714b670cd0f47;hp=7d5d435a547fe16d4fcb987f0814ad12c4733da1;hb=b508f9561cc2302c129efe8d60f201ff03ee72c8;hpb=1b6459195c82395d861cddf3f2056ed1c9a3bd5b diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 7d5d435a..ac0bf8cc 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -486,7 +486,7 @@ namespace { - 9 * mg_value(score) / 8 + 40; - // Transform the kingDanger units into a Score, and substract it from the evaluation. + // Transform the kingDanger units into a Score, and substract it from the evaluation if (kingDanger > 0) { int mobilityDanger = mg_value(mobility[Them] - mobility[Us]);