Sync some common names

No functional change.
This commit is contained in:
Marco Costalba
2014-04-06 10:50:27 +02:00
parent fcf2a34080
commit 64d29a6330
13 changed files with 81 additions and 81 deletions
+2 -2
View File
@@ -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);