mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 05:07:14 +00:00
Simplify squares_delta()
And rename in ray_direction() Patch from UncombedCoconut. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -562,7 +562,7 @@ namespace {
|
||||
|
||||
if (Type == CHECK)
|
||||
{
|
||||
// Condider only pawn moves which give direct checks
|
||||
// Consider only pawn moves which give direct checks
|
||||
b1 &= pos.attacks_from<PAWN>(ksq, Them);
|
||||
b2 &= pos.attacks_from<PAWN>(ksq, Them);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user