X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.cpp;h=7d39a4a08bde360f2299f3cc231817e0d749ac07;hp=e6d1c9b0e7f48493802dea43356723d97b85b6fb;hb=ef014e110098db03e9380f09bd2e92cf02bf760d;hpb=cf5d683408a2ef8a1c80be9bf7d6790a38b16277 diff --git a/src/pawns.cpp b/src/pawns.cpp index e6d1c9b0..7d39a4a0 100644 --- a/src/pawns.cpp +++ b/src/pawns.cpp @@ -221,7 +221,7 @@ Value Entry::evaluate_shelter(const Position& pos, Square ksq) { int d = std::min(f, ~f); safety += ShelterStrength[d][ourRank]; - safety -= (ourRank && (ourRank == theirRank - 1)) ? 66 * (theirRank == RANK_3) + safety -= (ourRank && (ourRank == theirRank - 1)) ? 66 * (theirRank == RANK_3) : UnblockedStorm[d][theirRank]; }