mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
Retire neighboring_files_bb() overload
Rarely used and we prefer to not hide the complexity. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ Score PawnInfo::updateShelter(const Position& pos, Square ksq) {
|
||||
|
||||
if (relative_rank(Us, ksq) <= RANK_4)
|
||||
{
|
||||
pawns = pos.pieces(PAWN, Us) & this_and_neighboring_files_bb(ksq);
|
||||
pawns = pos.pieces(PAWN, Us) & this_and_neighboring_files_bb(file_of(ksq));
|
||||
r = ksq & (7 << 3);
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user