mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Changes identified in RENAME/REFORMATTING thread (#1861)
I've gone through the RENAME/REFORMATTING thread and changed everything I could find, plus a few more. With this, let's close the previous issue and open another. No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
e8ffca3eb4
commit
e917bd59b1
@@ -278,7 +278,7 @@ namespace {
|
||||
*moveList++ = make_move(ksq, pop_lsb(&b));
|
||||
}
|
||||
|
||||
if (Type != CAPTURES && Type != EVASIONS && pos.can_castle(Us))
|
||||
if (Type != CAPTURES && Type != EVASIONS && pos.castling_rights(Us))
|
||||
{
|
||||
if (pos.is_chess960())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user