mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00:00
Rename move_is_legal() in move_is_pl()
We disjoint pseudo legal detection from full legal detection. It will be used by future patches. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -451,7 +451,7 @@ namespace {
|
||||
// Single and double pawn pushes
|
||||
if (Type != MV_CAPTURE)
|
||||
{
|
||||
b1 = pawnPushes & emptySquares;
|
||||
b1 = (Type != MV_EVASION ? pawnPushes : pawnPushes & emptySquares);
|
||||
b2 = move_pawns<TDELTA_N>(pawnPushes & TRank3BB) & emptySquares;
|
||||
|
||||
if (Type == MV_CHECK)
|
||||
|
||||
Reference in New Issue
Block a user