X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.cpp;h=3ae7f50ddae6a99e0c5bb6dbbbefd1ea00e3d84a;hb=8acb1d7e4ddb9627ed3c2910f6c47f466b94ad90;hp=480a92ec9cfcd1a7e3850aea8fbc94f61c570ece;hpb=5b1316f7bbb259b87cecc276e4a1ce78b1a0e51b;p=stockfish diff --git a/src/position.cpp b/src/position.cpp index 480a92ec..3ae7f50d 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1594,7 +1594,7 @@ int Position::see(Square from, Square to) const { if (pt == KING && stmAttackers) { assert(n < 32); - swapList[n++] = 100; + swapList[n++] = QueenValueMidgame*10; break; } } while (stmAttackers);