Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweecg.
bench 4080668
  • Loading branch information
Vizvezdenec committed Aug 10, 2019
1 parent 146fa14 commit 0fe0bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evaluate.cpp
Expand Up @@ -691,9 +691,9 @@ namespace {
if (distance<File>(pos.square<KING>(Us), pos.square<KING>(Them)) <= 1)
{
if (file_of(pos.square<KING>(Us)) < FILE_C || file_of(pos.square<KING>(Them)) < FILE_C)
SpaceMask |= FileGBB;
SpaceMask |= FileHBB;
else if (file_of(pos.square<KING>(Us)) > FILE_F || file_of(pos.square<KING>(Them)) > FILE_F)
SpaceMask |= FileBBB;
SpaceMask |= FileABB;
}

Us == WHITE ? SpaceMask &= (Rank2BB | Rank3BB | Rank4BB)
Expand Down

0 comments on commit 0fe0bd4

Please sign in to comment.