mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Sync some common names
No functional change.
This commit is contained in:
+2
-2
@@ -326,10 +326,10 @@ namespace {
|
||||
while (b)
|
||||
{
|
||||
Square s = pop_lsb(&b);
|
||||
Piece p = pos.piece_on(s);
|
||||
Piece pc = pos.piece_on(s);
|
||||
|
||||
// PolyGlot pieces are: BP = 0, WP = 1, BN = 2, ... BK = 10, WK = 11
|
||||
key ^= PG.Zobrist.psq[2 * (type_of(p) - 1) + (color_of(p) == WHITE)][s];
|
||||
key ^= PG.Zobrist.psq[2 * (type_of(pc) - 1) + (color_of(pc) == WHITE)][s];
|
||||
}
|
||||
|
||||
b = pos.can_castle(ANY_CASTLING);
|
||||
|
||||
Reference in New Issue
Block a user