mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Revert "Clarify the mapping of files to queenside"
This reverts commit 7756344d5d.
This commit is contained in:
@@ -662,7 +662,7 @@ namespace {
|
||||
|| (pos.pieces(PAWN) & (s + Up)))
|
||||
bonus = bonus / 2;
|
||||
|
||||
score += bonus - PassedFile * map_to_queenside(f);
|
||||
score += bonus - PassedFile * std::min(f, ~f);
|
||||
}
|
||||
|
||||
if (T)
|
||||
|
||||
Reference in New Issue
Block a user