mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08: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:
@@ -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